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-mapper
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 |
<style>
table {
width: 100%;
}
</style>