ngx-waterfall-library
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

ngx-waterfall-menu

How to use it:

To use this package just import the package as below:

import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app.component'; import { NgxWaterfallLibraryModule } from 'ngx-waterfall-library'; @NgModule({ declarations: [AppComponent], imports: [BrowserModule, NgxWaterfallLibraryModule], providers: [], bootstrap: [AppComponent], }) export class AppModule {}

and inside the template file:

<ngx-waterfall-library [dir]="'rtl'">

inputs:

property type example
menus object[] { title: 'test1', children: [{ title: 'Sub-test-1' }] }
dir string 'ltr' or 'rtl'

To show chevron icons, import bootstrap-icons.

Package Sidebar

Install

npm i ngx-waterfall-library

Weekly Downloads

1

Version

1.0.3

License

none

Unpacked Size

80 kB

Total Files

38

Last publish

Collaborators

  • babakbhd