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

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.