UNPKG

@fivethree/core

Version:
45 lines (44 loc) 1.33 kB
import { FivIcon } from './../icon/icon.component'; import { FivExpandable } from './../expandable/expandable.component'; import { OnInit, AfterViewInit } from '@angular/core'; import { Router } from '@angular/router'; import { Color } from '@ionic/core'; export declare class FivRouterItem implements OnInit, AfterViewInit { router: Router; private host; fivIcon: FivIcon; active: boolean; color?: Color; detail?: boolean; detailIcon: string; disabled: boolean; icon?: string; lines?: 'full' | 'inset' | 'none'; matchChildUrl: boolean; navigate: boolean; pageUrl: string; /** * The position of the active state. * Default value is: `"left"` */ position: 'left' | 'right'; /** * The shape of the active state. * Possible values are: `"line"`, `"dot"` and `"rounded"`. * Default value is: `"line"` */ shape: 'line' | 'dot' | 'rounded'; text: string; onclick(): void; readonly classes: string; readonly activeClass: boolean; readonly disabledClass: boolean; constructor(router: Router, host: FivExpandable); ngOnInit(): void; ngAfterViewInit(): void; openExpandableHost(): void; getClasses(): string[]; matchActiveUrl(): boolean; isCurrentUrl(): boolean; isChildUrl(): boolean; }