vl.menu(…options)
Define a new HTML select
input element binding.
menu
Method Overviewmenu
API Reference# menu.debounce(value)
If defined, delays event handling until the specified milliseconds have elapsed since the last event was fired.
# menu.element(value)
An optional CSS selector string indicating the parent element to which the input element should be added. By default, all input elements are added within the parent container of the Vega view.
# menu.input(value)
# menu.labels(…value)
An array of label strings to represent the options
values. If unspecified, the options
value will be coerced to a string and used as the label.
# menu.name(value)
By default, the signal name is used to label input elements. This name
property can be used instead to specify a custom label for the bound signal.
# menu.options(…value)
An array of options to select from.