Raxol.Components.Dashboard.WidgetContainer (Raxol v0.3.0)
View SourceA container component for dashboard widgets. Provides a frame, title bar (optional), and potentially drag/resize handles. Renders the actual widget content passed to it.
Summary
Functions
Callback implementation for Raxol.UI.Components.Base.Component.mount/1
.
Renders the widget container frame and its content.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1
.
Functions
Callback implementation for Raxol.UI.Components.Base.Component.mount/1
.
Renders the widget container frame and its content.
Requires props:
bounds
: %{x, y, width, height} - The absolute bounds calculated by GridContainer.widget_config
: The configuration map for the widget being rendered.Used for title, etc. (%{id: _, type: _, title: _, ...}).
content
: The actual View element(s) representing the widget's content.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1
.