@ks-web-components/ks-static-adapter
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

ks-static-adapter

This component reflects the data given to it and performs OnDataChange events to it's ancestors after the given timeout.

npm npm bundle size

Usage

npm install @ks-web-components/ks-static-adapter

Live Example


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

<style> table { width: 100%; } </style>

/@ks-web-components/ks-static-adapter/

    Package Sidebar

    Install

    npm i @ks-web-components/ks-static-adapter

    Weekly Downloads

    0

    Version

    1.0.0

    License

    none

    Unpacked Size

    10.3 kB

    Total Files

    7

    Last publish

    Collaborators

    • kleeen_devops