Corex.List.Item
(Corex v0.1.0-beta.2)
View Source
One selectable row for Combobox, Listbox, or Select.
Fields
:label(required) — visible text:id(optional) — value id; defaults generated when built throughItem.new/1:to(optional) — URL or path used for redirect-on-select when the parent hasredirect:disabled(optional):group(optional) — group id for grouped lists:meta(optional) — arbitrary map:redirect(optional) —:href|:patch|:navigate|false; controls navigation kind for this item when the parent hasredirect:new_tab(optional) — open redirect target in a new tab
Summary
Functions
Creates a single List.Item with an auto-generated ID if not provided.
Types
Functions
Creates a single List.Item with an auto-generated ID if not provided.
Raises ArgumentError if attrs is not a keyword list or map.