Magento jQuery widgets
In version 2 of Magento, it adopted the use of the jQuery library as the main JavaScript library. Also, with the adoption of RequireJS, the use of jQuery has become modular and provides easy management between the different layers of visualization and templates enabling the creation of widgets.
Besides jQuery, jQuery UI can also be used for your projects with the same idea of creating widgets. Currently, Magento 2 supports jQuery UI 1.9.2 version with a peculiarity: the style sheet files are added separately to avoid problems with the existing Magento 2 stylesheet files.
The main jQuery widgets that can be used on Magento are:
- Accordion widget
- Alert widget
- Calendar widget
- Collapsible widget
- Confirm widget
- Dropdown Dialog widget
- Gallery widget
- List widget
- Loader widget
- Menu widget
- Modal widget
- Navigation widget
- Prompt widget
- QuickSearch widget
- Tabs widget
They all follow the functionalities of the jQuery library and can be applied in the Magento templates. You can test them and consult...