Skeleton
Represents the Kendo UI for Vue Skeleton component. Accepts properties of type SkeletonProps.
Definition
Package:@progress/kendo-vue-indicators
Properties Interface:SkeletonProps
Syntax:
<Skeleton
:shape="'rectangle'"
:animation="{ type: 'wave' }"
:aria-busy="true"
:role="'alert'"
:style="{ width: '240px', height: '80px' }"
/>
Properties
animation?
boolean | SkeletonAnimation
Sets the animation of the Skeleton.
The possible keys are:
type—Sets the type of the Skeleton animation.wave—Shows a wave animation effect.pulse—Shows a pulse animation effect.
To turn off the animation, set the property to false.
{ type: 'pulse' }
ariaBusy?
boolean
Sets the aria-busy attribute of the Skeleton.
The Skeleton is only a visual indicator and has no accessibility features of its own.
Place it inside an element that shows the loading state.
Use this property when you want to add an aria-busy attribute to the Skeleton.
When you do not set it, the Skeleton does not render the aria-busy attribute.
role?
string
Sets the role attribute of the Skeleton.
The Skeleton is only a visual indicator and has no accessibility features of its own.
Place it inside an element that shows the loading state.
Use this property when you want to add a role attribute to the Skeleton.
When you do not set it, the Skeleton does not render the role attribute.
The recommended value is alert.
shape?
string
Sets the shape of the Skeleton.
The possible values are:
circle—Renders a circular Skeleton.text—Renders a line Skeleton.rectangle—Renders a rectangular Skeleton.
text