View Source Bonfire.UI.Common.WidgetModule behaviour (Bonfire v0.9.10-classic-beta.169)
Widgets: components that can be added to the dashboard or sidebards
Summary
Callbacks
Declares a widget component
Functions
Callback implementation for Bonfire.Common.ExtensionBehaviour.modules/0
.
Get a widget identified by module
Load all widgets at once
Load widgets for an extension
Callbacks
@callback declared_widget() :: any()
Declares a widget component
Functions
@spec modules() :: [atom()]
Callback implementation for Bonfire.Common.ExtensionBehaviour.modules/0
.
Get a widget identified by module
Load all widgets at once
Load widgets for an extension