@fortit/fwc-chip-list
v1.0.1
Published
## Installation
Downloads
20
Readme
<fwc-chip-list>
Installation
npm i @fortit/fwc-chip-list
Example usage
Standard
<script type="module">
import '@fortit/fwc-chip-list';
</script>
<fwc-chip-list
icon="quiz"
.all="${this.allItems}"
.selected="${this.selectedItems}"
></fwc-chip-list>
API
Slots
None
Properties/Attributes
| Name | Type | Default | Description |
| ---------- | ------------------ | ------- | ---------------------------------- |
| added
| any[]
(readonly) | []
| Array of added items |
| all
| any[]
| []
| Array of all items (id, name) |
| icon
| string
| ''
| Icon to display left |
| removed
| any[]
(readonly) | []
| Array of removed items |
| selected
| any[]
| []
| Array of selected items (id, name) |
Methods
None
Events
None