smartVISU
02:56,19.04, v2.6

Basic-Widgets

basic.button basic.checkbox basic.colordisc basic.dual basic.flip basic.float basic.glue basic.image basic.notify basic.rgb basic.shifter basic.shutter basic.slider basic.switch basic.symbol basic.tank basic.text basic.value


basic.notify

Displays a notification popup window

Parameters
{{basic.notify(id, gad_trigger, gad_message, signal, title, text, mode) }}
id
unique id for this widget
gad_trigger
a gad/item witch triggers the notification
gad_message
a gad/item with the dynamic message
signal
a word for the signal corner
title
a title of the messagebox
text
a additional static text
mode
the mode: 'info', 'warning', 'error' (optional, default 'info')
Examples
If you flip the switch to 'on' the alert is been triggerd and the notification will be shown.
{{ basic.notify('n1', 'bath_alert_info', 'bath_alert_text', 'INFO', 'Information', 'The heating ist to hot!', 'info') }}
Info

Information

The heating ist to hot!

Warning

Warning

The heating ist to hot! Please switch it off!

Error

Error

The heating ist to hot! It will burn now!

Widgets

Design

Misc