0.0.2 • Published 3 years ago

dp-world-mobile-menu v0.0.2

Weekly downloads
61
License
-
Repository
-
Last release
3 years ago

Example Usage

    <dp-world-mobile-menu fxHide fxShow.xs="true"
        [isDev]='true'
        [content]='config.sidebarContent'>
    </dp-world-mobile-menu>

    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
        },
        {
            icon: 'request_quote',
            name: 'examples',
            route: 'examples',
            hideInProd: true,
            active: true,
        },
    ];

DpWorldMobileMenu

This library was generated with Angular CLI version 10.1.3.

Code scaffolding

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

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

Build

Run ng build dp-world-mobile-menu to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build dp-world-mobile-menu, go to the dist folder cd dist/dp-world-mobile-menu and run npm publish.

Running unit tests

Run ng test dp-world-mobile-menu 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.

0.0.2

3 years ago

0.0.1

4 years ago