m3e/tab_panel

tab_panel provides Lustre support for the M3E Tab Panel component

Types

TabPanel provides Lustre support for the M3E TabPanel component

Fields:

  • id: The identifier of the panel
pub opaque type TabPanel

Values

pub fn id(tp: TabPanel, id: String) -> TabPanel

id sets the id field

pub fn new(id: String) -> TabPanel

new creates a new TabPanel

pub fn render(
  tp: TabPanel,
  attributes: List(attribute.Attribute(msg)),
  children: List(element.Element(msg)),
) -> element.Element(msg)

render creates a Lustre Element(msg) from a TabPanel

Parameters:

  • tp: a TabPanel
  • attributes: additional attributes
  • children: additional children
Search Document