Skip to content

MenuOptions beta ​

Interface of @v12-engine/client/kit

ts
export interface MenuOptions

How a menu of the kit's that is put together already opens (MenuButton, ContextMenu, MenuAt)

Members ​

ark ​

ts
ark?: Partial<Omit<Ark.RootProps, 'children'>>;

The rest of Ark's menu, which it is (loopFocus, typeahead, onSelect...): Ark's own, not the kit's to promise

closeOnSelect ​

ts
closeOnSelect?: boolean;

Closes once a line is picked. Yes when left out

placement ​

ts
placement?: TipPlacement;

Where it opens, by what opened it: under it, from its left, when left out