interface TextInputElement {
    addEventListener?: (type: string, listener: Function) => void;
    onkeydown?: (e: KeyboardEvent) => void;
    pattern?: string;
    title?: string;
    value?: string;
}

Properties

addEventListener?: (type: string, listener: Function) => void

Ajout d'écouteur.

onkeydown?: (e: KeyboardEvent) => void

Gestionnaire keydown.

pattern?: string

Pattern HTML attendu (chaîne regex).

title?: string

Titre / info du champ.

value?: string

Valeur courante du champ.