UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

53 lines (52 loc) 2.35 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 { IconToggleDefaultTemplateDirective } from '../icon-toggle-default/icon-toggle-default.directive'; import { IconToggleRotatedTemplateDirective } from '../icon-toggle-rotated/icon-toggle-rotated.directive'; import * as i0 from "@angular/core"; export declare class IconToggleComponent { el: ElementRef; defaultTemplate: IconToggleDefaultTemplateDirective; rotatedTemplate: IconToggleRotatedTemplateDirective; _floatingUIToggle: boolean; _selectToggle: boolean; _accordionToggle: boolean; constructor(el: ElementRef); /** * Provides custom class&#40;es&#41; for custom styling. * @default .v-accordion-toggle-icon */ get class(): string; set class(value: string); _class: string; get hostClass(): string; /** * Shows the rotated template when true and the default template when false. * @default false **/ get rotated(): boolean; set rotated(value: boolean); _rotated: boolean; /** @ignore */ alignment: string; /** @ignore */ color: string; /** @ignore */ pointerEvents: string; static ɵfac: i0.ɵɵFactoryDeclaration<IconToggleComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<IconToggleComponent, "v-icon-visa-toggle", never, { "class": { "alias": "class"; "required": false; }; "rotated": { "alias": "rotated"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "color": { "alias": "color"; "required": false; }; "pointerEvents": { "alias": "pointerEvents"; "required": false; }; }, {}, ["defaultTemplate", "rotatedTemplate"], ["[v-toggle-default-template]", "[v-toggle-rotated-template]"], true, never>; }