Notification Popover
PREVIEW
Preview not available — component requires runtime dependencies or no examples defined.
USAGE
from djust_components.components.notification_popover import NotificationPopover
component = NotificationPopover(notifications=None,
unread_count=0,
mark_read_event='mark_read',
toggle_event='toggle_notifications',
is_open=False,
title='Notifications',
custom_class='',
kwargs)
html = component.render()
PARAMETERS 8
| Name | Type | Default |
|---|---|---|
notifications |
typing.Optional[typing.List[typing.Union[dict, object]]] |
None |
unread_count |
<class 'int'> |
0 |
mark_read_event |
<class 'str'> |
'mark_read' |
toggle_event |
<class 'str'> |
'toggle_notifications' |
is_open |
<class 'bool'> |
False |
title |
<class 'str'> |
'Notifications' |
custom_class |
<class 'str'> |
'' |
kwargs |
— |
— |