0.0.1 • Published 2 months ago

kapela-header v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

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

NomTypedefaultComments
titlestringtitle of the header
logostringthe logo of the header
rightIconsIconMenuModel[][]Array of icon on the right of the header
menusMenuModel[][]Array of menu
0.0.1

2 months ago