@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).
23 lines (22 loc) • 731 B
TypeScript
/**
* Constantes qui correspondent aux valeurs possibles de l'attribut target d'un lien html.
*/
export declare namespace DsfrLinkTargetConst {
const BLANK = "_blank";
const SELF = "_self";
const PARENT = "_parent";
const TOP = "_top";
}
/** @deprecated since 1.4 use DsfrLinkTargetConst instead */
export declare namespace DsfrTargetLinkConst {
const BLANK = "_blank";
const SELF = "_self";
const PARENT = "_parent";
const TOP = "_top";
}
/**
* Les constantes target exposées sous forme de type.
*/
export type DsfrLinkTarget = (typeof DsfrLinkTargetConst)[keyof typeof DsfrLinkTargetConst];
/** @deprecated since 1.4 use DsfrLinkTarget instead */
export type DsfrTargetLink = DsfrLinkTarget;