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

1.0.2 • Public • Published

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

npm npm bundle size

Usage

npm install @ks-web-components/ks-data-mapper

Live 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

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @ks-web-components/ks-data-mapper

      Weekly Downloads

      1

      Version

      1.0.2

      License

      none

      Unpacked Size

      10.6 kB

      Total Files

      7

      Last publish

      Collaborators

      • kleeen_devops