@edugouvfr/ngx-dsfr
Version:
NgxDsfr est un portage Angular des éléments d'interface du Système de Design de l'État Français (DSFR).
35 lines (34 loc) • 1.15 kB
TypeScript
import { OnInit } from '@angular/core';
import { I18nService } from '../../shared';
import { DsfrFormInputComponent } from '../form-input';
import * as i0 from "@angular/core";
export declare class DsfrFormEmailComponent extends DsfrFormInputComponent implements OnInit {
private i18n;
/** @internal */ readonly errorMessage: string;
private _isValid;
/** @internal */
constructor(i18n: I18nService);
/**
* Au fil de la saisie, on ne vérifie le mail que s'il y avait déjà une erreur
*/
/** @internal */
onValueChange(): void;
/**
* Vérification quand on sort du champ
*/
/** @internal */
onFocusOut(): void;
/**
* Vrai si l'email est validé.
*/
/** @internal */
isValid(): boolean;
/** @internal*/
ngOnInit(): void;
/**
* Méthode validation, positionne la propriété error s'il y a lieu.
*/
private validate;
static ɵfac: i0.ɵɵFactoryDeclaration<DsfrFormEmailComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DsfrFormEmailComponent, "dsfr-form-email", never, {}, {}, never, ["[label]"], false, never>;
}