0.0.34 • Published 3 years ago

wsuite-service-menu v0.0.34

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

Features

  • Service menu for all the wsuite services

Install

npm install wsuite-service-menu --save

Setup & Uses

step 1: Import the WsuiteServiceMenuModule module in module file.

import { CommonModule } from '@angular/common';
import { WsuiteServiceMenuModule } from 'wsuite-service-menu';

@NgModule({
  imports: [
    CommonModule,
    WsuiteServiceMenuModule
  ],
  bootstrap: [App],
  declarations: [App]
})
class MainModule {}

step 2: Implement & Configure service menu (Ex. HeaderComponent)

Declare & Assign the values of variables in .ts file

    brand_names: any = [];
    brandName: string = '<brand-name>';
    serviceName: string = '<service-name>';
    loginBrandId: number = '<login-brand-id>';
    sortName: string = '<sort-name>';
    serviceConfig: any = {
        slug: '<slug>',
        devType: '<devType>',
        bucketName: '<bucketName>',
        clientLable: '<clientLable>',
        brandLable: '<brandLable>',
        serviceLable: '<serviceLable>',
        identityPoolId: '<identityPoolId>'
    };  

Add the selector in .html file

    <wsuite-service-menu 
        [brand_names]="brand_names"
        [brandName]="brandName"
        [serviceName]="serviceName"
        [loginBrandId]="loginBrandId"
        [sortName]="sortName"
        [serviceConfig]="serviceConfig">
    </wsuite-service-menu>
0.0.30

3 years ago

0.0.31

3 years ago

0.0.32

3 years ago

0.0.33

3 years ago

0.0.34

3 years ago

0.0.28

3 years ago

0.0.29

3 years ago

0.0.25

4 years ago

0.0.26

4 years ago

0.0.27

4 years ago

0.0.24

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.16

4 years ago

0.0.17

4 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago