A component for easy create loading mask
npm install @rcp/c.loadingwrapper
# or use yarn
yarn add @rcp/c.loadingwrapper
import LoadingWrapper from '@rcp/c.loadingwrapper'
import '@rcp/c.loadingwrapper/style.less'
<LoadingWrapper isLoading>
<div>some content</div>
</LoadingWrapper>
- Type:
string
- Default:
null
- Type:
boolean
- Default:
false
渲染 Loading 延迟毫秒数,为了减少不必要的视觉跳跃
- Type:
number
- Default:
1000
是否首次的时候 Delay 渲染 Loading
- Type:
boolean
- Default:
false
自定义 LoadingComponent
- Type:
Component|Function|string
- Default:
null
This library is written and maintained by imcuttle, [email protected]>.
MIT