BarSkeleton
Examples
API Reference
Types come from the public API. A dash indicates no default is documented here.
BarLoadingSkeleton props
Public source| Prop | Type | Default | Description |
|---|---|---|---|
key | KeepAliveKey<K, Ends> | undefined | '' | The child's identity among its parent's children of one component, or a kept child's among its author's. The empty string by default. |
onEmit | ((events: never) => NoInfer<Msg> | undefined) | undefined | — | Handle the child's events with a callback, or supply one handler per tag for tagged events. Return a parent message to dispatch it, or `undefined` to ignore the event. |
props.id | string | Required | |
props.innerWidth | number | Required | |
props.innerHeight | number | Required | |
props.fill | string | 'var(--bkm-foreground)' | |
props.fillOpacity | number | 0.45 | |
props.barCount | number | — | |
props.backgroundOpacity | number | 0 | |
props.baseline | "bottom" | "center" | — | |
props.barFraction | number | — | |
props.durationSeconds | number | 2 | |
props.initialReducedMotion | boolean | false |