UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

51 lines (50 loc) 1.89 kB
/** * Copyright (c) 2025 Visa, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * **/ import { ElementRef } from '@angular/core'; import * as i0 from "@angular/core"; export declare class OpensInNewTabDirective { private el; constructor(el: ElementRef); /** * Allows user to set custom rel attribute. * @default 'noopener noreferrer' * @builtin true */ get rel(): string; set rel(value: string); _rel: string; /** * Allows user to set custom target attribute. * @default '_blank' * @builtin true */ get target(): string; set target(value: string); _target: string; /** * Allows user to set custom aria-label attribute. * @default '&lt;inner-text-of-link&gt; (opens in new tab)' */ get ariaLabel(): string; set ariaLabel(value: string); _ariaLabel: string; get attrRel(): string | null; get attrTarget(): string | null; get attrAriaLabel(): string | null; static ɵfac: i0.ɵɵFactoryDeclaration<OpensInNewTabDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<OpensInNewTabDirective, "[vOpensInNewTab], ", never, { "rel": { "alias": "rel"; "required": false; }; "target": { "alias": "target"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; }, {}, never, never, true, never>; }