UNPKG

385 BTypeScriptView Raw
1import { Opts } from './interface';
2/**
3 * cancel a timer or all timers
4 * @param node - node hosting the time string
5 */
6export declare function cancel(node?: HTMLElement): void;
7/**
8 * render a dom realtime
9 * @param nodes
10 * @param locale
11 * @param opts
12 */
13export declare function render(nodes: HTMLElement | HTMLElement[] | NodeList, locale?: string, opts?: Opts): HTMLElement[];