1.0.0 • Published 3 years ago
ks-static-adapter
This component reflects the data given to it and performs OnDataChange events to it's ancestors after the given timeout.
Usage
npm install @ks-web-components/ks-static-adapter
Attributes
| Property | Attribute | Type | Default | Description |
|---|
| activeFilters | active-filters | object | | The filters to apply to the data |
| data | data | array | | The data this adapter shold emit |
| strictFiltering | strict-filtering | boolean | | Whether to filter out data that does not have a given filter key |
| timeout | timeout | number | | The amount of milliseconds to wait before emitting |
Slots
| Name | Description |
|---|
| default slot | The content of the component |
Element API
| Name | Description |
|---|
| updateData | Emit the data again |
Events
| Name | type | Description |
|---|
| onDataChange | Event | The data from the adapter change |