@tempots/ui

makeTicker() function

Creates a new Ticker instance with an optional initial value.

Signature:

makeTicker: (initial?: number) => Ticker

Parameters

Parameter

Type

Description

initial

number

(Optional) The initial value for the ticker (defaults to 0)

Returns: Ticker

A new Ticker instance that only updates when the value changes