Notice(level='info', message='')
Example
from mirmod.controls import Notice
@wob.receiver("state", "notification", control=Notice(level='warning', message='Please enter valid data'), hidden=True, connectable=False)
def show_notice(self, data):
pass
Parameters
| Name | Type | Description |
|---|---|---|
| level | string | Notification level: ‘info’, ‘warning’, ‘error’, etc. Default ‘info’. |
| message | string | The message text to display. Default empty. |