Notification Center
PREVIEW
Preview not available — component requires runtime dependencies or no examples defined.
USAGE
from djust_components.components.notification_center import NotificationCenter
component = NotificationCenter(notifications=None,
unread_count=0,
open_event='toggle_notifications',
mark_read_event='mark_notification_read',
clear_event='clear_notifications',
custom_class='',
kwargs)
html = component.render()
PARAMETERS 7
| Name | Type | Default |
|---|---|---|
notifications |
<class 'list'> |
None |
unread_count |
<class 'int'> |
0 |
open_event |
<class 'str'> |
'toggle_notifications' |
mark_read_event |
<class 'str'> |
'mark_notification_read' |
clear_event |
<class 'str'> |
'clear_notifications' |
custom_class |
<class 'str'> |
'' |
kwargs |
— |
— |