OptionalcheckboxOptional CSS that is added to the input checkbox, e.g. if you add col s4, the items will be put inline
OptionalcheckedCurrently selected ids. This property controls the component state and should be updated externally to change selection programmatically.
OptionalclassThe class name(s) for this virtual element, as a space-separated list.
OptionalclassThe class name(s) for this virtual element, as a space-separated list.
OptionaldescriptionOptional description
OptionaldisabledIf true, disable the options.
OptionalidElement ID
OptionalisIf true, add a mandatory '*' after the label
OptionalkeyA key to optionally associate with this element.
OptionallabelOptional title or label
OptionallayoutLayout for the options: 'vertical' (default) or 'horizontal'
OptionalnewIf true, start on a new row
OptionalonchangeEvent handler that is called when an option is changed
The options that you have
OptionalselectText for select all button
OptionalselectText for select none button
OptionalshowIf true, show select all/none buttons
OptionalonbeforeremoveThe onbeforeremove hook is called before a DOM element is detached from the document. If a Promise is returned, Mithril only detaches the DOM element after the promise completes.
OptionalonbeforeupdateThe onbeforeupdate hook is called before a vnode is diffed in a update.
OptionaloncreateThe oncreate hook is called after a DOM element is created and attached to the document.
OptionaloninitThe oninit hook is called before a vnode is touched by the virtual DOM engine.
OptionalonremoveThe onremove hook is called before a DOM element is removed from the document.
OptionalonupdateThe onupdate hook is called after a DOM element is updated, while attached to the document.
Any other virtual element properties, including attributes and event handlers.