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

View Source

Bottom-docked panel that slides up to show the details of whatever row/identifier a page's user just selected (an ETS table, a process, a port, ...), with collapse/expand/close controls. Each page keeps its own selection state and event names; this component only renders the shared chrome around whatever content the caller puts in its inner_block slot.

Summary

Functions

Bottom padding for the page's root container, so the docked panel never overlaps the page's own content. Sized to match the panel's own collapsed/expanded height.

Functions

content(assigns)

Attributes

  • id (:string) (required)
  • expand_id (:string) (required)
  • collapse_id (:string) (required)
  • close_id (:string) (required)
  • collapsed (:boolean) (required)
  • expanded (:boolean) (required)
  • expand_event (:string) (required)
  • collapse_event (:string) (required)
  • close_event (:string) (required)

Slots

  • title (required)
  • inner_block (required)

padding_class(shown?, collapsed?, expanded?)

Bottom padding for the page's root container, so the docked panel never overlaps the page's own content. Sized to match the panel's own collapsed/expanded height.