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 / classPurpose
aria-haspopup="menu" / aria-expandedRequired 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.

EventDescription
flick:open / flick:closeFired on the .menu-anchor when the panel opens or closes.
flick:selectFired when an .action-select item is clicked, detail carries the item's id; the menu also auto-closes.