UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

66 lines (65 loc) 2.72 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, EventEmitter } from '@angular/core'; import { AccordionHeadingDirective } from '../accordion-heading/accordion-heading.directive'; import { AccordionPanelDirective } from '../accordion-panel/accordion-panel.directive'; import { IconToggleComponent } from '../icon-toggle/icon-toggle.component'; import { IconToggleDirective } from '../icon-toggle/icon-toggle.directive'; import * as i0 from "@angular/core"; export declare class AccordionDetailsDirective implements AfterContentInit { panel: AccordionPanelDirective; heading: AccordionHeadingDirective; toggleIcon: IconToggleDirective; toggleIconComponent: IconToggleComponent; /** * Provides custom class&#40;es&#41; for custom styling. * @default .v-accordion */ get class(): string; set class(value: string); _class: string; get hostClass(): string; /** @ignore native details/summary prop */ get expanded(): boolean | null; set expanded(value: BooleanInput | null); _expanded: boolean | null; get hostOpen(): boolean | void; /** * Sets custom id. * @builtin true */ id: string; get hostId(): string; /** @ignore */ get name(): string; set name(value: string); _name: string; get hostName(): string; get hostTabIndex(): string | void; constructor(); /** * Emits expanded state of item when toggled. */ toggled: EventEmitter<boolean>; toggle(event: { newState: string; }): void; ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<AccordionDetailsDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionDetailsDirective, "details[v-accordion-item]", never, { "class": { "alias": "class"; "required": false; }; "expanded": { "alias": "open"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "toggled": "toggled"; }, ["panel", "heading", "toggleIcon", "toggleIconComponent"], never, true, never>; }