@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>
46 lines (45 loc) • 1.33 kB
TypeScript
import { EventEmitter, TemplateRef } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
import { Router } from '@angular/router';
export declare class Topbar {
protected domSanitizer: DomSanitizer;
protected router: Router;
/**
* Put topbar contents inside a container. Defaults to `false`
*/
insideContainer: boolean;
/**
* Label that shows to the right of the `brand`.
*/
productName: string;
/**
* Source for the header logo.
*/
logoSrc: string;
/**
* Top level branding. Defaults to "Kushki"
*/
brand: string | TemplateRef<any>;
/**
* Optional link for the header
*/
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>>;
protected _href: string;
constructor(domSanitizer: DomSanitizer, router: Router);
isTemplate(value: any): boolean;
navigate(event: any): void;
}