Display Text

Will display a non-editable text field on the Maya dashboard.

Each received msg.payload will update the text based on the provided Value Format.

The Value Format field can be used to change the displayed format and can contain valid HTML and Angular filters.

For example: {{value | uppercase}} ° will uppercase the payload text and add the degree symbol.

The label can also be set by a message property by setting the field to the name of the property, for example {{msg.topic}}.

The following icon fonts are also available: Material Design icon (e.g. 'check', 'close') or a Font Awesome icon (e.g. 'fa-fire'), or a Weather icon. You can use the full set of google material icons if you add 'mi-' to the icon name. e.g. 'mi-videogame_asset'.

The widget also has a class of nr-dashboard-widget-{the_widget_label_with_underscores} which can be used for additional styling if required. You may need to use the !important flag to override the theme.

Last updated