@iapps/ngx-dhis2-menu
v1.0.11-beta.9
Published
Menu module for dhis2 applications based on angular 6
Downloads
66
Maintainers
Keywords
Readme
DHIS2 Menu
Menu module for dhis2 applications based on angular 6
installation
npm install @iapps/ngx-dhis2-menu
Usage
If the module is to be imported in the app.module, then import as
import { NgxDhis2MenuModule } from '@iapps/ngx-dhis2-menu';
then add this in the imports
imports: [
...
NgxDhis2MenuModule,
...
]
Note: Menu component make a use of animations from angular, in this case you have to import BrowserAnimationsModule in app.module.ts
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
imports: [
...
BrowserAnimationsModule,
...
]
Once imported, menu can be called in as
<ngx-dhis2-menu></ngx-dhis2-menu>