The Javascrip Button is a custom HTML5 button control. The application contains Essential JS 2 button component for preview and all common settings are preconfigured.
To get started you need to clone the ej2-buttongettingstarted
repository.
git clone https://github.com/SyncfusionSamples/ej2-button-gettingstarted.git quickstart
cd quickstart
We can get all the Essential JS 2 components in a single npm package ej2
.
We already configure the required packages in the package.json
file.
You can run the below command to install all dependent packages related to this seed project.
npm install
The application is configured with browser-sync
, so it will serve the web application in your default browser.
We used SystemJS
for module loading.
You can use the below npm script to run the web application.
npm run start
The JavaScript button can be used as a toggle button to trigger two different actions based on its two states: pressed and released.
You can choose from different button sizes, default and small, as required in your application.
You can extend this button to act as a repeat button, which performs the click event repeatedly when it is clicked and held.
The JavaScript disable button is used to indicate the inactive state of a button. It can be enabled or disabled by using the disabled property.
Learn More about JavaScript Button
Suggest a feature or report a bug
Syncfusion's JavaScript UI Components library is the only suite that you will ever need to build an application since it contains over 80 high-performance, lightweight, modular, and responsive UI Components in a single package. In addition to Button, we provide popular JavaScript Components such as DataGrid, Charts, Scheduler, Diagram, and Word Processor.
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 29,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
Today, we provide 1700+ components and frameworks for web (Blazor, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Flutter), mobile (Xamarin, Flutter, UWP, JavaScript, and .NET MAUI), and desktop development (WinForms, WPF, WinUI,UWP, Flutter, and .NET MAUI). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET