m3e/nav_rail

NavRail is a vertical bar, typically used on larger devices, that allows a user to switch between views.

This file was generated by m3e/generator

     DO NOT EDIT

Types

NavRail is a View Model for this component

Fields:

  • mode: The mode in which items in the rail are presented.
pub opaque type NavRail

Values

pub fn mode(
  arg: NavRail,
  mode: nav_bar_mode.NavBarMode,
) -> NavRail

mode sets the value of mode for this NavRail.

pub fn new(mode: nav_bar_mode.NavBarMode) -> NavRail

new creates a new NavRail with the default configuration.

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

render creates a Lustre Element for a NavRail

Search Document