@visa/nova-angular
Version:
Visa Product Design System Nova Angular library
59 lines (58 loc) • 2.53 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 { OnInit } from '@angular/core';
import { IconComponent } from '../icon/icon.component';
import * as i0 from "@angular/core";
export declare class IconToggleDirective implements OnInit {
icon: IconComponent;
_expanded: boolean;
_iconSet: boolean;
_expandedSet: boolean;
_collapsedSet: boolean;
/**
* Provides custom class(es) for custom styling.
* @default .v-accordion-toggle-icon
*/
get class(): string;
set class(value: string);
_class: string;
get hostClass(): string;
/**
* Icon to show when item is expanded / shown. <br>
* Will render this icon when no <code>icon</code> or <code>customIcon</code> is provided to <code>v-icon</code>. <br>
* Should refer to an icon in VPDS' [Icon Library](https://design.visa.com/icons).
* @default 'chevron-down' / IconToggle.EXPANDED <br>
* @builtin true
*/
get expandedIcon(): string;
set expandedIcon(value: string);
_expandedIcon: string;
/**
* Icon to show when item is collapsed / hidden. <br>
* Will render this icon when no <code>icon</code> or <code>customIcon</code> is provided to <code>v-icon</code>. <br>
* Should refer to an icon in VPDS' [Icon Library](https://design.visa.com/icons).
* @default 'chevron-right' / IconToggle.COLLAPSED <br>
* @builtin true
*/
get collapsedIcon(): string;
set collapsedIcon(value: string);
_collapsedIcon: string;
constructor(icon: IconComponent);
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<IconToggleDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<IconToggleDirective, "[v-icon-toggle]", never, { "class": { "alias": "class"; "required": false; }; "expandedIcon": { "alias": "expandedIcon"; "required": false; }; "collapsedIcon": { "alias": "collapsedIcon"; "required": false; }; }, {}, never, never, true, never>;
}