View Source Phoenix.WebComponent.Appbar (Phoenix.WebComponent v2.5.0)

render appbar

Link to this section Summary

Functions

Generates a html customElement appbar.

Generates an simple html appbar.

Link to this section Functions

Generates a html customElement appbar.

attributes

Attributes

  • title binary Appbar Title. example: "App Title"
  • menus List Appbar menus. example: [ %{ label: "Menu Name", to: ~p"/menu-url" } ]

slots

Slots

  • logo Appbar Logo.
  • user_profile Right side userinfo.
Link to this function

wc_simple_appbar(assigns)

View Source

Generates an simple html appbar.

attributes

Attributes

slots

Slots

  • logo Appbar Logo.
  • user_profile Right side userinfo.