LiveAntd.Components.Spin (live_antd v0.1.0)
A spinner for displaying loading state of a page or a section.
API
- [ ]
delay: Specifies a delay in milliseconds for loading state (prevent flush) number (milliseconds) - - [ ]
indicator: React node of the spinning indicator - [ ]
size: The size of Spin, options: small, default and large string default - [ ]
spinning: Whether Spin is spinning boolean true - [ ]
tip: Customize description content when Spin has children string - - [ ]
wrapperClassName: The className of wrapper when Spin has children string
Example
<Spin indicator={{@antIcon}} />
Properties
Link to this section Summary
Functions
Callback implementation for Phoenix.LiveComponent.mount/1.
Callback implementation for Phoenix.LiveComponent.render/1.
Link to this section Functions
Link to this function
mount(socket)
Callback implementation for Phoenix.LiveComponent.mount/1.
Link to this function
render(assigns)
Callback implementation for Phoenix.LiveComponent.render/1.