2023-04-21 13:40:29 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs" :level="2" />
|
|
|
|
<div class="card flex justify-content-center">
|
|
|
|
<ProgressSpinner
|
|
|
|
:pt="{
|
|
|
|
spinner: { style: { animationDuration: '0s' } },
|
|
|
|
circle: { style: { stroke: '#F59E0B', strokeWidth: 3, animation: 'none' } }
|
|
|
|
}"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<DocSectionCode :code="code" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
|
|
|
<ProgressSpinner
|
2023-04-21 13:40:29 +00:00
|
|
|
:pt="{
|
|
|
|
spinner: { style: { animationDuration: '0s' } },
|
|
|
|
circle: { style: { stroke: '#F59E0B', strokeWidth: 3, animation: 'none' } }
|
|
|
|
}"
|
|
|
|
/>`,
|
2023-09-22 12:54:14 +00:00
|
|
|
options: `
|
|
|
|
<template>
|
2023-04-21 13:40:29 +00:00
|
|
|
<div class="card flex justify-content-center">
|
|
|
|
<ProgressSpinner
|
|
|
|
:pt="{
|
|
|
|
spinner: { style: { animationDuration: '0s' } },
|
|
|
|
circle: { style: { stroke: '#F59E0B', strokeWidth: 3, animation: 'none' } }
|
|
|
|
}"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<\/script>`,
|
2023-09-22 12:54:14 +00:00
|
|
|
composition: `
|
|
|
|
<template>
|
2023-04-21 13:40:29 +00:00
|
|
|
<div class="card flex justify-content-center">
|
|
|
|
<ProgressSpinner
|
|
|
|
:pt="{
|
|
|
|
spinner: { style: { animationDuration: '0s' } },
|
|
|
|
circle: { style: { stroke: '#F59E0B', strokeWidth: 3, animation: 'none' } }
|
|
|
|
}"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
<\/script>`
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|