Skip to main content
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

NameTypeDescription
levelstringNotification level: ‘info’, ‘warning’, ‘error’, etc. Default ‘info’.
messagestringThe message text to display. Default empty.