shapelets.apps.DataApp.countdown#

DataApp.countdown(duration: int = None, start_delay: int = None, unit: Optional[Literal['s', 'ms']] = 's', **additional) TimerWidget#

Creates a CountDown for your dataApp.

Parameters:
durationint, optional

Defines how often the Timer is executed in seconds | milliseconds.

start_delayint, optional

Defines a start delay for the Timer.

unitstr ‘s’ or ‘ms’, optional

Defines the unit of timer secods or millisencods

Returns:
countdown

Examples

>>> countdown = app.countdown(duration=5, start_delay=10)