primevue-mirror/doc/progressspinner/pt/PTDoc.vue

56 lines
1.4 KiB
Vue
Raw Normal View History

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-08-16 13:58:31 +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-08-16 13:58:31 +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-08-16 13:58:31 +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>