Live Indicator
EXAMPLES 2
live_indicator(active=True, label='Live')
live_indicator(active=False, label='Offline')
USAGE
from djust_components.components.live_indicator import LiveIndicator
component = LiveIndicator(user=None,
field='',
action='typing',
active=True,
custom_class='',
kwargs)
html = component.render()
PARAMETERS 6
| Name | Type | Default |
|---|---|---|
user |
typing.Optional[object] |
None |
field |
<class 'str'> |
'' |
action |
<class 'str'> |
'typing' |
active |
<class 'bool'> |
True |
custom_class |
<class 'str'> |
'' |
kwargs |
— |
— |