default const
A number counts up to its value when it comes into view, on real 3D mechanics: digits on odometer drums, on deep slot reels behind a window, or on flip cards.
import { default } from '@dioramajs/text/counter'. The drums and cards fold back into the text when they land: the DOM text never changes, and at rest it is the element.
const default: Effect<Params>Defined in packages/text/src/counter.ts.