2023-02-28 08:29:30 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
|
|
|
<p>ProgressSpinner can be customized with styling property like <i>style</i>, <i>strokeWidth</i> <i>fill</i> and <i>animationDuration</i>.</p>
|
|
|
|
</DocSectionText>
|
2023-03-27 08:10:09 +00:00
|
|
|
<div class="card flex justify-content-center">
|
2024-03-27 08:30:38 +00:00
|
|
|
<ProgressSpinner style="width: 50px; height: 50px" strokeWidth="8" fill="transparent" animationDuration=".5s" aria-label="Custom ProgressSpinner" />
|
2023-02-28 08:29:30 +00:00
|
|
|
</div>
|
|
|
|
<DocSectionCode :code="code" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
2024-03-27 08:30:38 +00:00
|
|
|
<ProgressSpinner style="width: 50px; height: 50px" strokeWidth="8" fill="transparent"
|
2023-10-15 09:38:39 +00:00
|
|
|
animationDuration=".5s" aria-label="Custom ProgressSpinner" />
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
options: `
|
|
|
|
<template>
|
2023-03-27 08:10:09 +00:00
|
|
|
<div class="card flex justify-content-center">
|
2024-03-27 08:30:38 +00:00
|
|
|
<ProgressSpinner style="width: 50px; height: 50px" strokeWidth="8" fill="transparent"
|
2023-02-28 08:29:30 +00:00
|
|
|
animationDuration=".5s" aria-label="Custom ProgressSpinner" />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-10-15 09:38:39 +00:00
|
|
|
<\/script>
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
composition: `
|
|
|
|
<template>
|
2023-03-27 08:10:09 +00:00
|
|
|
<div class="card flex justify-content-center">
|
2024-03-27 08:30:38 +00:00
|
|
|
<ProgressSpinner style="width: 50px; height: 50px" strokeWidth="8" fill="transparent"
|
2023-02-28 08:29:30 +00:00
|
|
|
animationDuration=".5s" aria-label="Custom ProgressSpinner" />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
2023-10-15 09:38:39 +00:00
|
|
|
<\/script>
|
|
|
|
`
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|