mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
MeterGroup demo updates
This commit is contained in:
parent
8274c1c936
commit
2f7ef11751
6 changed files with 99 additions and 36 deletions
|
@ -12,11 +12,7 @@
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
value: [
|
||||
{ color: '#239EF0', label: 'Mortgage', value: 25 },
|
||||
{ color: '#FAA419', label: 'Loan', value: 15 },
|
||||
{ color: '#EE5879', label: 'Credit Card', value: 20 }
|
||||
],
|
||||
value: [{ label: 'Space used', value: 15 }],
|
||||
code: {
|
||||
basic: `
|
||||
<MeterGroup :value="value" />
|
||||
|
@ -32,11 +28,7 @@ export default {
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
value: [
|
||||
{ color: '#239EF0', label: 'Mortgage', value: 25 },
|
||||
{ color: '#FAA419', label: 'Loan', value: 15 },
|
||||
{ color: '#EE5879', label: 'Credit Card', value: 20 }
|
||||
]
|
||||
value: [{ label: 'Space used', value: 15 }],
|
||||
};
|
||||
}
|
||||
};
|
||||
|
@ -52,11 +44,7 @@ export default {
|
|||
<script setup>
|
||||
import { ref } from "vue";
|
||||
|
||||
const value = ref([
|
||||
{ color: '#239EF0', label: 'Mortgage', value: 25 },
|
||||
{ color: '#FAA419', label: 'Loan', value: 15 },
|
||||
{ color: '#EE5879', label: 'Credit Card', value: 20 }
|
||||
]);
|
||||
const value = ref([{ label: 'Space used', value: 15 }]);
|
||||
<\/script>
|
||||
`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue