UNPKG

@kaspacom/ui

Version:

UI Component Library for KaspaCom DeFi Applications

26 lines 1.59 kB
import { EventEmitter, ElementRef, AfterViewInit, OnChanges, SimpleChanges, AfterViewChecked, ChangeDetectorRef } from '@angular/core'; import { SwitchNavigationOption, SwitchNavigationVariant } from './switch-navigation.types'; import { ComponentSize } from '../../types/sizing.type'; import * as i0 from "@angular/core"; export declare class KcSwitchNavigationComponent implements AfterViewInit, AfterViewChecked, OnChanges { private cdr; options: SwitchNavigationOption[]; currentActive: string; disabled: boolean; variant: SwitchNavigationVariant; size: ComponentSize; selectOption: EventEmitter<string>; selectionIndicator: ElementRef; navigationContainer: ElementRef; private indicatorInitialized; private updatePending; constructor(cdr: ChangeDetectorRef); ngAfterViewInit(): void; ngAfterViewChecked(): void; ngOnChanges(changes: SimpleChanges): void; onSelect(key: string): void; private updateSelectionIndicator; static ɵfac: i0.ɵɵFactoryDeclaration<KcSwitchNavigationComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<KcSwitchNavigationComponent, "kc-switch-navigation", never, { "options": { "alias": "options"; "required": false; }; "currentActive": { "alias": "currentActive"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "selectOption": "selectOption"; }, never, never, true, never>; } //# sourceMappingURL=switch-navigation.component.d.ts.map