@visa/nova-angular
Version:
Visa Product Design System Nova Angular library
49 lines (48 loc) • 1.87 kB
TypeScript
/**
* 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 { BooleanInput } from '@angular/cdk/coercion';
import { ElementRef } from '@angular/core';
import * as i0 from "@angular/core";
export declare class LinkDirective {
el: ElementRef;
/**
* Provides custom class(es) for custom styling.
* @default .v-link
*/
class: string;
get hostClasses(): string;
/**
* Disables link when true. <br />
* Adds <code>role="link"</code> and <code>aria-disabled="true"</code> when true for a11y.
* @default false
*/
get disabled(): boolean;
set disabled(value: BooleanInput);
_disabled: boolean;
/**
* Removes underline on link when true.
* @default false
*/
get noUnderline(): boolean;
set noUnderline(value: BooleanInput);
_noUnderline: boolean;
get attrDisabled(): string | null;
get attrRole(): string | null;
constructor(el: ElementRef);
static ɵfac: i0.ɵɵFactoryDeclaration<LinkDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<LinkDirective, "[v-link]", never, { "class": { "alias": "class"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "noUnderline": { "alias": "noUnderline"; "required": false; }; }, {}, never, never, true, never>;
}