djust-theming | Demo Home Components | Gallery Storybook Editor Diff

Notification Center

python component Feedback 7 params
PREVIEW
Preview not available — component requires runtime dependencies or no examples defined.
USAGE
python
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
NameTypeDefault
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