The type of the value each entry carries.
The type of the secondary value each entry carries.
The type of the entries themselves.
OptionalentriesCSS class(es) added to every entry.
OptionalselectedCSS class(es) added to entries while selected.
OptionalentriesThe entries to populate the select with.
OptionalvaluesValues to build entries from, using createEntry.
OptionalselectedValues selected initially.
OptionalgetReads the value carried by an entry.
OptionalgetReads an entry's secondary value.
OptionalcreateBuilds an entry for a value in values.
OptionalonCalled when an entry is added.
OptionalonCalled when an entry is removed.
OptionalonCalled when an entry is clicked.
OptionalmultiWhether more than one entry can be selected at a time.
OptionalforceWhether at least one entry must stay selected, preventing the last selected entry from being deselected.
OptionalinputName given to the underlying form inputs, to submit the selection with a form.
OptionalparentElement the entries are appended to.
OptionalonCalled when an entry's selected state changes, with the new state.
OptionalonCalled when an entry's enabled state changes, with the new state.
Description
Properties to initialize a GradumSelect. Entries can be supplied directly through
entries, or generated fromvaluesusingcreateEntry.