Dropdown API
API Reference e-dropdown
HTML Attributes API
Name | Description | Type | Required | Default value |
---|---|---|---|---|
data-markup-content |
HTML content of the trigger element
The content passed is not sanitized, you have to sanitize it in the application code to avoid XSS attacks.
|
string | ||
data-markup-class |
Class of the trigger element | string | ||
data-dropdown-align |
Alignment of the dropdown component | ['auto', 'top'] |
||
data-autoclose |
If set, dropdown will automatically close after clicking an item in it | boolean | false |
Events
Event | Description | Returns |
---|---|---|
status |
Fires on open/close |
|