1.0.2 • Published 3 years ago
@ks-web-components/ks-data-mapper v1.0.2
ks-data-mapper
This component listens for data received via a OnDataChange event, maps it given a configuration attribute, and then dispatches a similar event with the modified data
Usage
npm install @ks-web-components/ks-data-mapperLive Example
Attributes
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
| config | config | JSON | The configuration for the mapping |
Slots
| Name | Description |
|---|---|
| default slot | The content of the component |
Events
| Name | type | Description |
|---|---|---|
| onDataChange | Event | The data from the mapper change |