0.0.34 • Published 2 years ago

wsuite-service-menu v0.0.34

Weekly downloads
260
License
-
Repository
-
Last release
2 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

2 years ago

0.0.31

2 years ago

0.0.32

2 years ago

0.0.33

2 years ago

0.0.34

2 years ago

0.0.28

2 years ago

0.0.29

2 years ago

0.0.25

3 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.16

3 years ago

0.0.17

3 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

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago