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

Notification Badge

python component Feedback 7 params
EXAMPLES 3
5
python
notification_badge(count=5)
99
python
notification_badge(count=99)
python
notification_badge(count=0)
USAGE
python
from djust_components.components.notification_badge import NotificationBadge

component = NotificationBadge(count=0,
    max_count=99,
    dot=False,
    pulse=False,
    size='md',
    custom_class='',
    kwargs)
html = component.render()
PARAMETERS 7
NameTypeDefault
count <class 'int'> 0
max_count <class 'int'> 99
dot <class 'bool'> False
pulse <class 'bool'> False
size <class 'str'> 'md'
custom_class <class 'str'> ''
kwargs