1.0.0 • Published 2 years ago

@ks-web-components/ks-image v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

ks-image

The component description goes here. Be concise and keep it under two paragraphs. More detailed sections can be added below if needed.

npm npm bundle size

Usage

npm install @ks-web-components/ks-image

Live Example

Attributes

PropertyAttributeTypeDefaultDescription
labelNamelabel-namestringText to display as a label

Slots

NameDescription
default slotThe content of the component
iconSlot to place an icon

Customization variables

NameDefaultDescription
--ks-image-bg-color#FFFFFFBackground color of the parent element

Element API

NameDescription
refreshRefresh the content of the component

Events

NametypeDescription
onloadEventThe data has finished loading