View Source Bonfire.UI.Common.WidgetModule behaviour (Bonfire v0.9.10-classic-beta.156)

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

Summary

Callbacks

Declares a widget component

Functions

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

Link to this function

widget_function_error(error, args)

View Source

Load all widgets at once

Load widgets for an extension