@erenst543/multi-select
v1.1.0
Published
``` To create dropdown with multiple selection ``` ## Project setup ``` npm install @erenst543/multi-select ```
Downloads
34
Readme
Multi Select
Description
To create dropdown with multiple selection
Project setup
npm install @erenst543/multi-select
Usage
<multi-select :items="yourArray" :itemSummary="yourHeader" :itemProperty="yourListVariableName" @selectedItemsChanged="yourEventHandlerMethod(selectedItems)"></multi-select>
Props
- items : Array -- Give items to loop through an primitive or reference types,
- itemSummary : string --Give a header to your options list
- itemProperty : string --Give a name to loop through array objects.Default itemProperty is 'name'.If array does not consist of json objects ignore this option.
Custom Output Event
- @selectedItemsChanged : Array -- Emits selectedItems