UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

58 lines (57 loc) 2.31 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 { BooleanInput } from '@angular/cdk/coercion'; import { AfterContentInit } from '@angular/core'; import { ContentCardTitleLinkDirective } from '../content-card-title-link/content-card-title-link.directive'; import * as i0 from "@angular/core"; export declare class ContentCardDirective implements AfterContentInit { titleLink: ContentCardTitleLinkDirective; /** * Displays indicator line at the bottom of the card when true. * @default false */ get indicator(): boolean; set indicator(value: BooleanInput); _indicator: boolean; /** * Transforms card into a clickable card when true. * @default false */ get clickable(): boolean; set clickable(value: BooleanInput); _clickable: boolean; /** * Sets component as disabled when true. * @default false */ get disabled(): boolean; set disabled(value: BooleanInput); _disabled: boolean; get hostDisabled(): boolean; /** * Provides custom class&#40;es&#41; for custom styling. * @default .v-content-card */ class: string; get hostClass(): string; onSpaceKeyDown(event: KeyboardEvent): void; handleClick(): void; constructor(); ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ContentCardDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ContentCardDirective, "[v-content-card]", never, { "indicator": { "alias": "indicator"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, ["titleLink"], never, true, never>; }