Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@syncfusion/ej2-splitbuttons
Advanced tools
@syncfusion/ej2-splitbuttons is a package that provides a collection of button components such as Split Button, DropDown Button, Progress Button, and Button Group. These components are designed to enhance the user interface by providing advanced button functionalities.
Split Button
The Split Button component allows you to create a button with a primary action and a secondary action that can be accessed via a dropdown menu.
const splitBtn = new ej.splitbuttons.SplitButton({ content: 'Split Button', items: [{ text: 'Option 1' }, { text: 'Option 2' }] }); splitBtn.appendTo('#splitButton');
DropDown Button
The DropDown Button component provides a button that displays a dropdown list of items when clicked.
const dropDownBtn = new ej.splitbuttons.DropDownButton({ content: 'DropDown Button', items: [{ text: 'Item 1' }, { text: 'Item 2' }] }); dropDownBtn.appendTo('#dropDownButton');
Progress Button
The Progress Button component is a button that shows a progress indicator when clicked, useful for indicating loading or processing states.
const progressBtn = new ej.splitbuttons.ProgressButton({ content: 'Progress Button', duration: 2000 }); progressBtn.appendTo('#progressButton');
Button Group
The Button Group component allows you to group multiple buttons together, providing a cohesive set of actions.
const buttonGroup = new ej.splitbuttons.ButtonGroup({ buttons: [{ content: 'Button 1' }, { content: 'Button 2' }, { content: 'Button 3' }] }); buttonGroup.appendTo('#buttonGroup');
React-Bootstrap provides a collection of Bootstrap components built with React, including button components like Split Button and Dropdown Button. It is widely used for its integration with the Bootstrap framework and offers a similar set of functionalities with a focus on React.
Material-UI is a popular React component library that implements Google's Material Design. It includes button components such as Split Button and Dropdown Button, offering a modern and customizable design system. It is known for its extensive customization options and comprehensive documentation.
PrimeReact is a rich set of open-source UI components for React, including advanced button components like SplitButton and DropdownButton. It is known for its wide range of components and themes, making it a versatile choice for building modern web applications.
A package of Essential JS 2 DropDownButton and SplitButton components. It comes with documentation and support, which is available under commercial and community licenses. Please visit www.syncfusion.com to get started.
Check the changelog here
FAQs
A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup.
The npm package @syncfusion/ej2-splitbuttons receives a total of 123,350 weekly downloads. As such, @syncfusion/ej2-splitbuttons popularity was classified as popular.
We found that @syncfusion/ej2-splitbuttons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.