View Source Bonfire.Common.WidgetModule behaviour (bonfire_umbrella v0.3.6-classic-beta.7)

Widgets: components that can be added to the dashboard or sidebards

Link to this section Summary

Callbacks

Declares a widget component

Functions

Get a widget identified by module

Load all widgets at once

Load widgets for an extension

Link to this section Callbacks

@callback declared_widget() :: any()

Declares a widget component

Link to this section Functions

@spec modules() :: [atom()]

Callback implementation for Bonfire.Common.ExtensionBehaviour.modules/0.

Get a widget identified by module

Link to this function

widget_function_error(error, args)

View Source

Load all widgets at once

Load widgets for an extension