kapela-header
v0.0.1
Published
header component
Downloads
4
Readme
About
This library contains component for header
Install
$npm install kapela-header
Usage
import
import { KapelaHeaderComponent } from 'kapela-header';
@Component({
...
imports: [KapelaHeaderComponent],
...
})
dom
<kapela-header> </kapela-header>
Model
export class IconMenuModel {
icon!: string;
route?: string;
badge?: string;
title!: string;
}
export class MenuModel {
title: string = "";
route?: string = "";
}
Attributes
| Nom | Type | default | Comments |
| ---------- | ----------------- | ------- | ---------------------------------------- |
| title | string
| | title of the header |
| logo | string
| | the logo of the header |
| rightIcons | IconMenuModel[]
| []
| Array of icon on the right of the header |
| menus | MenuModel[]
| []
| Array of menu |