MenuOptions

external interface MenuOptions(source)

Options for creating a new menu.

Properties

Link copied to clipboard
abstract external var id: String?

Specify an id to use for the new menu.

Link copied to clipboard
abstract external var items: ReadonlyArray<Any>?

List of items to add to the new menu.