Raxol.UI.Components.Display.StatusBar (Raxol v2.6.0)

View Source

A non-interactive status bar that displays key-value pairs separated by a configurable delimiter.

Keys are rendered bold, followed by their label values, joined by a separator string.

Summary

Types

item()

@type item() :: %{key: String.t(), label: String.t()}

t()

@type t() :: %{
  id: String.t() | atom(),
  items: [item()],
  separator: String.t(),
  style: map(),
  theme: map()
}

Functions

broadcast(msg)

command(cmd)

mount(state)

Callback implementation for Raxol.UI.Components.Base.Component.mount/1.

schedule(msg, delay)

unmount(state)

Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.

update(props, state)

Callback implementation for Raxol.UI.Components.Base.Component.update/2.