date-input-control
Version:
Capture dates using day, month and year components
12 lines (11 loc) • 538 B
TypeScript
export interface Listeners {
onBlurAll: (event: FocusEvent) => void;
onBlurAllCapture: (event: FocusEvent) => void;
onFocusOutAll: (event: FocusEvent) => void;
onFocusOutAllCapture: (event: FocusEvent) => void;
onChangeAny: (event: Event) => void;
onChangeAnyCapture: (event: Event) => void;
onInputAny: (event: Event) => void;
onInputAnyCapture: (event: Event) => void;
}
export declare const addListeners: (allInputs: ArrayLike<HTMLInputElement>, listeners: Partial<Listeners>) => () => void;