@stimulus-library/controllers
Version:
A library of useful controllers for Stimulus
17 lines (16 loc) • 572 B
TypeScript
import { BaseController } from "@stimulus-library/utilities";
export declare class CheckboxDisableInputsController extends BaseController {
static targets: string[];
static values: {
clear: BooleanConstructor;
};
readonly hasDisablerTarget: boolean;
readonly disablerTarget: HTMLInputElement;
readonly disableTargets: Array<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>;
readonly clearValue: boolean;
readonly hasClearValue: boolean;
connect(): void;
toggle(): void;
disable(): void;
enable(): void;
}