NEW 2022/11/30
Warning
This applies to Detail Views, only!
Conditional Notifications¶
Detail View provides functions for conditionally showing custom notifications at the top of the page. This allows you to define conditions, which will be evaluated on load and on every change. Depending on the result of this evaluation, the notification will be shown or hidden.
- Define a function which returns
boolean
(true
|false
). - If it returns
true
, the notification be shown. - If the function return
false
, the notification will be hidden.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
Note
Conditional Notifications will never have a close-button x nor will they be autoclosed after n
seconds, because visibility will be controlled by your function, not by user-interaction.
Example¶
See also¶
- Notifications for Table View (TV) and Detail View (DV)