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