HTML widgets
HTML widgets are configured in the type htmlContentWidget
or one of its subitems. They can be used to display any kind of content on a dashboard.
Available attributes:
- Localizations (
localization
): String. Enter the localized values, e.g., for the widget title, using the following syntax:de: {title:'Wetter'}, en: {title:'Weather'}
. See Localizing widget text. - Parameters (
parameters
): String. Enter any additional parameters for the widget. These parameters can be used in the widget visualization script, where they are available as String parameters of therender()
andresource()
methods. - Title (
title
): String. Enter the widget title. If the title should be localized, use the following syntax:_('title')
- Visible (
visible
): Boolean. Determines whether the widget is shown (True) or not (False). - Script (
visualizationScript
): String. Enter the name of the script of type Widget visualization used to configure the widget.
Please see Widget visualization scripts for an example which implements a weather widget.