DevactionUI.PageHeader (devaction_ui v0.2.3)

Copy Markdown View Source

The head of a screen as the canvas lays it out: the breadcrumb above, then the title with its status tag and the actions at the end, an optional line of text, and the tabs under it. It only places the pieces; each one is the caller's (a DevactionUI.Breadcrumb, a DevactionUI.Tag, buttons, tabs).

Summary

Functions

page_header(assigns)

Attributes

  • id (:string) (required)
  • class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • breadcrumb
  • status - a tag beside the title: AT RISK, DRAFT.
  • title (required)
  • subtitle
  • actions - the buttons at the end.
  • tabs - the tabs under the head.