vant/packages/loading/en-US.md
2018-10-18 18:50:23 +08:00

514 B

Loading

Install

import { Loading } from 'vant';

Vue.use(Loading);

Usage

Circular

<van-loading />
<van-loading color="white" />

Spinner

<van-loading type="spinner" />
<van-loading type="spinner" color="white" />

API

Attribute Description Type Default
color Loading color String #c9c9c9
type Can be set to spinner String circular
size Size String 30px