@kushki/ng-suka
Version:
<p align="center"> <h1 align="center">Suka Components Angular</h1> <p align="center"> An Angular implementation of the Suka Design System </p> </p>
31 lines (30 loc) • 958 B
TypeScript
import { EventEmitter } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
import { Router } from '@angular/router';
import { IconType } from '../icon/icon-types';
export declare class TopbarItem {
protected domSanitizer: DomSanitizer;
protected router: Router;
href: string;
/**
* Array of commands to send to the router when the link is activated
* See: https://angular.io/api/router/Router#navigate
*/
route: any[];
/**
* Router options. Used in conjunction with `route`
* See: https://angular.io/api/router/Router#navigate
*/
routeExtras: any;
/**
* Emits the navigation status promise when the link is activated
*/
navigation: EventEmitter<Promise<boolean>>;
/**
* Icon for topbar item.
*/
icon: IconType;
protected _href: string;
constructor(domSanitizer: DomSanitizer, router: Router);
navigate(event: any): void;
}