0.0.17 • Published 1 year ago

dp-world-sidebar v0.0.17

Weekly downloads
88
License
-
Repository
-
Last release
1 year ago

Example Usage

    <dp-world-sidebar 
        [logo]='logo' 
        [content]='sidebarContent'
        [isDev]='isDev'
        [isBeta]='false'
        [logoRoute]=''>
    </dp-world-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' }
        },
    ];

    logo = {
        url: "assets/images/DPWorldLogo.png",
        url2: "assets/images/cargoflow-logo.png",
        name: 'DP World'
    }

DpWorldSidebar

This library was generated with Angular CLI version 10.1.0.

Code scaffolding

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

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

Build

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

Publishing

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

Running unit tests

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

0.0.17

1 year ago

0.0.16

2 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago