mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
514 B
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 |