0.0.6 • Published 4 years ago

shr-dropdown v0.0.6

Weekly downloads
25
License
-
Repository
-
Last release
4 years ago

Usage

npm install shr-dropdown it will install shr-dropdown and shr-multi-dropdown with library and this library will support angular 2 to 9 version without any issue

Implimentation

Add <lib-shr-multi-dropdown [optionMultiList]="optionList" (getSelectedList)='selectedChoice($event)'></lib-shr-multi-dropdown> include in the component where you are using for multidropdown with search.

Add <lib-shr-dropdown [optionList]="optionList" (onComplete)='selectedChoice($event)'></lib-shr-dropdown> include in the component where you are using without search.

optionList is the array of object with id,label,checked keys

Note: Don't forget to add ShrDropdownModule in the module you are going to use for example home.module.tsor else it will be added to the default module app.module.ts file.

CallBack for Selected Object

You can add your component method to get call back from the library with (onComplete) OR getSelectedList for multidropdown with search emitter.

Note

As of now still it is first version we will improve based on best practise.

Simplicity

It doesn't required any library to use and css also we left to you to write

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