Last date modified: 2025-Jul-02
Interface: ICardSkeleton
Custom card loading skeleton
Properties
delay?
optionaldelay:number
The minimum time to wait for the load to complete before showing the skeleton. If not specified, a fixed default value will be used.
hideSkeleton()
hideSkeleton: (
card,target) =>void
Allows the card to hide the custom skeleton. This function will only be called if show() was called during loading.
Parameters
• card: ICard
• target: HTMLElement
Returns
void
minimum?
optionalminimum:number
The minimum time to show the skeleton before hiding it. If not specified, a fixed default value will be used.
showSkeleton()
showSkeleton: (
card,target) =>void
Allows the card to display a custom skeleton during loading. This function will only be called if loading takes longer than a fixed minimum interval.
Parameters
• card: ICard
• target: HTMLElement
Returns
void