Spin
areas: content
A loading spinner. Can be used as a display block, or as container wrapping another block, with the spinning
property set in state
.
Block
content
Block Setup
id: block_id
type: Spin
Settings
Spin JSON Schema Definition
type: object
properties:
properties:
additionalProperties: false
properties:
delay:
description: Specifies a delay in milliseconds for loading state (prevent flush).
type: number
size:
default: default
description: Size of the spinner.
enum:
- small
- default
- large
type: string
spinning:
default: true
description: Whether Spin is spinning.
type: boolean
style:
description: Css style object to apply to spinner.
type: object
tip:
description: Customize description content when Spin has children.
type: string
wrapperStyle:
description: Css style to applied to spin wrapper.
type: object
type: object