Observer.Web.Components.SettingsPanel (Observer Web v0.2.10)

View Source

A toolbar "Settings" popover: a button that toggles a small form panel open, closing again on click-away or Escape. Purely client-side (Phoenix.LiveView.JS), so opening/closing never round-trips to the server. Each page supplies its own form as the inner_block slot.

Summary

Functions

content(assigns)

Attributes

  • id (:string) (required) - prefix for this popover's wrap/toggle/panel ids.
  • label (:string) (required) - title/aria-label for the toggle button.

Slots

  • inner_block (required)