UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

18 lines (17 loc) 693 B
import * as i0 from "@angular/core"; /** * This directive sets the role of an element to "img" when the element is not an \<img\> tag. */ export declare class AvatarRoleImgDirective { /** * Provides custom role. * @default 'img' when **not** on an <code>&lt;img&gt;</code> element. * @builtin true */ get role(): string; set role(value: string); _role: string; get hostRole(): string; static ɵfac: i0.ɵɵFactoryDeclaration<AvatarRoleImgDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarRoleImgDirective, "[v-avatar]:not(img)", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>; }