mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Fixed #5066 - New MeterGroup component
This commit is contained in:
parent
c5c8b84555
commit
6ce17e84be
66 changed files with 3570 additions and 0 deletions
41
components/lib/metergroup/BaseMeterGroup.vue
Normal file
41
components/lib/metergroup/BaseMeterGroup.vue
Normal file
|
@ -0,0 +1,41 @@
|
|||
<script>
|
||||
import BaseComponent from 'primevue/basecomponent';
|
||||
import MeterGroupStyle from 'primevue/metergroup/style';
|
||||
|
||||
export default {
|
||||
name: 'MeterGroup',
|
||||
extends: BaseComponent,
|
||||
props: {
|
||||
value: {
|
||||
type: Array,
|
||||
default: null
|
||||
},
|
||||
min: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
max: {
|
||||
type: Number,
|
||||
default: 100
|
||||
},
|
||||
orientation: {
|
||||
type: String,
|
||||
default: 'horizontal'
|
||||
},
|
||||
labelPosition: {
|
||||
type: String,
|
||||
default: 'end'
|
||||
},
|
||||
labelOrientation: {
|
||||
type: String,
|
||||
default: 'horizontal'
|
||||
}
|
||||
},
|
||||
style: MeterGroupStyle,
|
||||
provide() {
|
||||
return {
|
||||
$parentInstance: this
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue