/
loading.vue
executable file
路45 lines (41 loc) 路 1.03 KB
/
loading.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<template>
<div class="doc">
<h2>Loading</h2>
<h3>Module loading effect</h3>
<example demo="dataview/loading1"></example>
<h3>Global loading effect</h3>
<blockquote><code>$Loading</code> There is always only one global load dom opened and the same dom object is repeated.</blockquote>
<example demo="dataview/loading2"></example>
<h3>Loading Property</h3>
<table class="table">
<tr>
<th>Property</th>
<th>Description</th>
<th>Type</th>
<th>Optional</th>
<th>Default</th>
</tr>
<tr>
<td>text</td>
<td>Load text description</td>
<td>String</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>minHeight</td>
<td>minHeight of loading</td>
<td>Number</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>loading</td>
<td>Loading status</td>
<td>Boolean</td>
<td>-</td>
<td>false</td>
</tr>
</table>
</div>
</template>