Skip to content

@tavora/sdk / MenuOptions

Type Alias: MenuOptions ​

MenuOptions = Omit<MenuRequest, "at"> & { anchor: AnchorTarget; at?: undefined; } | { anchor?: undefined; at: MenuRequest["at"]; }

Defined in: packages/sdk/src/anchor.ts:8

ui.showMenu: anchor (an element or its box) is the way; at stays for the rare case without an element. One of the two.

For Tavora 0.23.9 and @tavora/sdk 0.3.3. Code under the MIT License. The Tavora name and logo are not covered by it.