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

Animated Number

python component Advanced 8 params
EXAMPLES 1
1,234
python
animated_number(value=1234, duration=1000)
USAGE
python
from djust_components.components.animated_number import AnimatedNumber

component = AnimatedNumber(value=0,
    prefix='',
    suffix='',
    duration=800,
    decimals=0,
    separator=',',
    custom_class='',
    kwargs)
html = component.render()
PARAMETERS 8
NameTypeDefault
value <class 'float'> 0
prefix <class 'str'> ''
suffix <class 'str'> ''
duration <class 'int'> 800
decimals <class 'int'> 0
separator <class 'str'> ','
custom_class <class 'str'> ''
kwargs