progress-linear.vue
2.65 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<script setup>
import * as demoCode from '@/views/demos/components/progress-linear/demoCodeProgressLinear'
</script>
<template>
<VRow class="match-height">
<!-- 👉 Progress linear color -->
<VCol
cols="12"
md="6"
>
<AppCardCode
title="Color"
:code="demoCode.color"
>
<p>Use the props <code>color</code> and <code>background-color</code> to set colors.</p>
<DemoProgressLinearColor />
</AppCardCode>
</VCol>
<!-- 👉 Progress linear Buffering -->
<VCol
cols="12"
md="6"
>
<AppCardCode
title="Buffering"
:code="demoCode.buffering"
>
<p>The primary value is controlled by <code>v-model</code>, whereas the buffer is controlled by the <code>buffer-value</code> prop.</p>
<DemoProgressLinearBuffering />
</AppCardCode>
</VCol>
<!-- 👉 Progress linear indeterminate -->
<VCol
cols="12"
md="6"
>
<AppCardCode
title="Indeterminate"
:code="demoCode.indeterminate"
>
<p>for continuously animating progress bar,use prop <code>indeterminate</code>. This indicates continuous process. </p>
<DemoProgressLinearIndeterminate />
</AppCardCode>
</VCol>
<!-- 👉 Progress linear Reversed -->
<VCol
cols="12"
md="6"
>
<AppCardCode
title="Reversed"
:code="demoCode.reversed"
>
<p>Use prop <code>reverse</code> to animate continuously in reverse direction. The component also has RTL support.</p>
<DemoProgressLinearReversed />
</AppCardCode>
</VCol>
<!-- 👉 Progress linear Rounded -->
<VCol
cols="12"
md="6"
>
<AppCardCode
title="Rounded"
:code="demoCode.rounded"
>
<p>The <code> rounded </code> prop is used to apply a border radius to the v-progress-linear component.</p>
<DemoProgressLinearRounded />
</AppCardCode>
</VCol>
<!-- 👉 Progress linear Slot -->
<VCol
cols="12"
md="6"
>
<AppCardCode
title="Slots"
:code="demoCode.slots"
>
<p>we can bind user input using <code>v-model</code>.You can also use the default slot for the same.</p>
<DemoProgressLinearSlots />
</AppCardCode>
</VCol>
<!-- 👉 Progress Linear Striped -->
<VCol
cols="12"
md="6"
>
<AppCardCode
title="Striped"
:code="demoCode.striped"
>
<p> The <code>striped</code> prop is used to apply striped background.</p>
<DemoProgressLinearStriped />
</AppCardCode>
</VCol>
</VRow>
</template>