@ks-web-components/ks-simple-kpi
v1.0.1
Published
The component description goes here. Be concise and keep it under two paragraphs. More detailed sections can be added below if needed.
Downloads
5
Readme
ks-simple-kpi
The component description goes here. Be concise and keep it under two paragraphs. More detailed sections can be added below if needed.
Usage
npm install @ks-web-components/ks-simple-kpi
Live Example
Attributes
| Property | Attribute | Type | Default | Description | | --------- | ---------- | ------ | ------- | -------------------------- | | labelName | label-name | string | | Text to display as a label |
Slots
| Name | Description | | ------------ | ---------------------------- | | default slot | The content of the component | | icon | Slot to place an icon |
Customization variables
| Name | Default | Description | | ------------------------ | ------- | -------------------------------------- | | --ks-simple-kpi-bg-color | #FFFFFF | Background color of the parent element |
Element API
| Name | Description | | ------- | ------------------------------------ | | refresh | Refresh the content of the component |
Events
| Name | type | Description | | ------ | ----- | ----------------------------- | | onload | Event | The data has finished loading |