2023-04-21 13:36:24 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs" :level="2" />
|
|
|
|
<div class="card">
|
|
|
|
<ProgressBar
|
|
|
|
:value="50"
|
|
|
|
:pt="{
|
|
|
|
value: { style: { background: 'linear-gradient(to right, #8e2de2, #4a00e0)' } }
|
|
|
|
}"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<DocSectionCode :code="code" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-08-16 13:58:31 +00:00
|
|
|
basic: `<ProgressBar :value="50"
|
2023-04-21 13:36:24 +00:00
|
|
|
:pt="{
|
|
|
|
value: { style: { background: 'linear-gradient(to right, #8e2de2, #4a00e0)' } }
|
|
|
|
}" />`,
|
2023-08-16 13:58:31 +00:00
|
|
|
options: `<template>
|
2023-04-21 13:36:24 +00:00
|
|
|
<div class="card">
|
|
|
|
<ProgressBar :value="50"
|
|
|
|
:pt="{
|
|
|
|
value: { style: { background: 'linear-gradient(to right, #8e2de2, #4a00e0)' } }
|
|
|
|
}" />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<\/script>`,
|
2023-08-16 13:58:31 +00:00
|
|
|
composition: `<template>
|
2023-04-21 13:36:24 +00:00
|
|
|
<div class="card">
|
|
|
|
<ProgressBar :value="50"
|
|
|
|
:pt="{
|
|
|
|
value: { style: { background: 'linear-gradient(to right, #8e2de2, #4a00e0)' } }
|
|
|
|
}" />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
<\/script>`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|