ant-design/components/spin/index.en-US.md
陆离 7f7d94068a add delay props of Spin (#4424)
*  add `delay` props of Spin

 + close 4306
 + Specifies a delay for loading state. If `spinning` ends during delay, loading state won't appear.

* improves
2017-01-01 01:13:34 +08:00

819 B

category type title
Components Feedback Spin

A Spin is used for displaying loading state of a page or a block.

When To Use

When part of the page is waiting for asynchronous data or during a rendering process, an appropriate loading animation can effectively alleviate users' inquietude.

API

Property Type Default Description
size enum default Size of dot in spin component, available in small, default and large.
spinning boolean true Use in embedded mode, to modify loading state.
tip string None Customize description content
delay number (milliseconds) None Specifies a delay for loading state