- Description:
Dropdown status JS controls.
The status controls enable extra configurarions for the dropdown like:
- Sync the button text with the selected option.
- Update the status of the button when the selected option changes. This will trigger a "change" event when the status changes.
- Source:
- Copyright:
- 2023 Ferran Recio
- 2023 Ferran Recio
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Dropdown status JS controls.
The status controls enable extra configurarions for the dropdown like:
- Sync the button text with the selected option.
- Update the status of the button when the selected option changes. This will trigger a "change" event when the status changes.
Members
(static, constant) getDropdownStatus
- Description:
Get the dropdown dialog instance form a selector.
- Source:
Get the dropdown dialog instance form a selector.
Methods
(static) init(selector)
- Description:
Initialize module.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
selector |
string | The query selector to init. |