Sha256: e76a0a2f82cbae20d55495db238961484f805716dbc895b012baabd2ae0cbd67
Contents?: true
Size: 744 Bytes
Versions: 178
Compression:
Stored size: 744 Bytes
Contents
declare class ToggleSwitchElement extends HTMLElement { switch: HTMLElement; loadingSpinner: HTMLElement; errorIcon: HTMLElement; private toggling; get src(): string | null; get csrf(): string | null; get csrfField(): string; isRemote(): boolean; toggle(): Promise<void>; turnOn(): void; turnOff(): void; isOn(): boolean; isOff(): boolean; isDisabled(): boolean; disable(): void; enable(): void; private performToggle; private setLoadingState; private setSuccessState; private setErrorState; private setFinishedState; private submitForm; } declare global { interface Window { ToggleSwitchElement: typeof ToggleSwitchElement; } } export {};
Version data entries
178 entries across 90 versions & 3 rubygems