easy-sidebar
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

Example Usage

    <easy-sidebar
        [content]='sidebarContent'
        [isDev]='isDev'
        [isBeta]='false'
        >
    </easy-sidebar>
    sidebarContent=[
        {
            icon:'request_quote',
            name: 'Request',
            route: 'requests/',
        },
        {
            icon:'request_quote',
            name: 'Content',
            route: 'content/',
            hideInProd:true,    //only shows in dev
            active:true,        //can be turned off for some user groups
            queryParams:{ order: 'popular' }
        },
    ];

EasySidebar

This library was generated with Angular CLI version 10.1.3.

Code scaffolding

Run ng generate component component-name --project easy-sidebar to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project easy-sidebar.

Note: Don't forget to add --project easy-sidebar or else it will be added to the default project in your angular.json file.

Build

Run ng build easy-sidebar to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build easy-sidebar, go to the dist folder cd dist/easy-sidebar and run npm publish.

Running unit tests

Run ng test easy-sidebar to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Readme

Keywords

none

Package Sidebar

Install

npm i easy-sidebar

Weekly Downloads

1

Version

0.0.7

License

none

Unpacked Size

79.2 kB

Total Files

19

Last publish

Collaborators

  • charles221133
  • sai_dpworld_fd
  • mathew_dpworld
  • charlesskinner