@covalent/core
Version:
Core Teradata UI Platform for layouts, icons, custom components and themes. This should be added as a dependency for any project that wants to use layouts, icons and themes for Angular Material.
46 lines (45 loc) • 1.64 kB
TypeScript
import { Router } from '@angular/router';
import * as i0 from "@angular/core";
export declare class TdLayoutNavComponent {
private _router;
/**
* toolbarTitle?: string
*
* Title set in toolbar.
*/
toolbarTitle?: string;
/**
* icon?: string
*
* icon name to be displayed before the title
*/
icon?: string;
/**
* logo?: string
*
* logo icon name to be displayed before the title.
* If [icon] is set, then this will not be shown.
*/
logo?: string;
/**
* color?: 'accent' | 'primary' | 'warn'
*
* toolbar color option: primary | accent | warn.
* If [color] is not set, primary is used.
*/
color?: 'accent' | 'primary' | 'warn';
/**
* navigationRoute?: string
*
* option to set the combined route for the icon, logo, and toolbarTitle.
*/
navigationRoute?: string;
/**
* Checks if router was injected.
*/
get routerEnabled(): boolean;
constructor(_router: Router);
handleNavigationClick(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavComponent, [{ optional: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<TdLayoutNavComponent, "td-layout-nav", never, { "toolbarTitle": { "alias": "toolbarTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "color": { "alias": "color"; "required": false; }; "navigationRoute": { "alias": "navigationRoute"; "required": false; }; }, {}, never, ["[td-menu-button]", "[td-toolbar-content]", "*", "td-layout-footer"], false, never>;
}