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.
OptionaldurationDuration of tab change animation in ms
OptionalkeyA key to optionally associate with this element.
OptionalonCalled when a tab is shown
OptionalonCallback when tab changes
OptionalresponsiveThe maximum width at which tabs switch to swipeable mode
OptionalselectedSelected tab id, takes precedence over tab.active property
OptionalswipeableEnable swiping between tabs on mobile
List of tab items
OptionaltabTab width, can be auto to use the width of the title,
fill to use all availabe space, or fixed to use a column size.
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.