@ks-web-components/ks-text
v1.0.0
Published
The component description goes here. Be concise and keep it under two paragraphs. More detailed sections can be added below if needed.
Downloads
3
Readme
ks-text
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-text
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-text-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 |