1.0.0 • Published 3 years ago
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
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 |