UNPKG

@stimulus-library/controllers

Version:

A library of useful controllers for Stimulus

16 lines (15 loc) 578 B
import { BaseController } from "@stimulus-library/utilities"; export declare class ClockController extends BaseController { static targets: string[]; readonly hasHoursTarget: boolean; readonly hoursTarget: HTMLElement; readonly hasMinutesTarget: boolean; readonly minutesTarget: HTMLElement; readonly hasSecondsTarget: boolean; readonly secondsTarget: HTMLElement; readonly hasMillisecondsTarget: boolean; readonly millisecondsTarget: HTMLElement; get _tickInterval(): 1 | 1000 | 15000 | 300000; connect(): void; _tick(): void; }