Props & events
Attributes & behavior classes
Shares its per-component options with dropdown/popover: .no-close-on-select, .no-close-on-outside, .no-close-on-esc, plus a placement class — none present by default.
| Attribute / class | Purpose |
|---|---|
aria-haspopup="menu" / aria-expanded | Required on the trigger button |
role="menu" / role="menuitem" | Required ARIA roles on the list and its items |
.no-close-on-select / .no-close-on-outside / .no-close-on-esc | Opt-out flags — none present by default |
Events
Point aria-controls at the .menu-anchor wrapper's id, not the .menu list's id, or flickui.js has nothing to show.
| Event | Description |
|---|---|
flick:open / flick:close | Fired on the .menu-anchor when the panel opens or closes. |
flick:select | Fired when an .action-select item is clicked, detail carries the item's id; the menu also auto-closes. |