Props & events
Attributes & behavior classes
Shares its per-component options with 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 |
aria-disabled="true" (on .menu-item) | Dims the item (visual only) — also add disabled if you need flickui.js to block flick:select |
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. |