MeterGroup component uses meter role in addition to the aria-valuemin, aria-valuemax and aria-valuenow attributes. Value to describe the component can be defined using aria-labelledby prop.
+ +Component does not include any interactive elements.
+MeterGroup is used with the value property.
++ Default layout of MeterGroup is horizontal, and also orientation property can be set as vertical.In addition, position of the label can be changed using labelPosition property that the default value is + end and also start option is available. +
+Boundaries are configured with the min and max values whose defaults are 0 and 100 respectively.
++ MeterGroup offers meter customization with the meter template that receives the meter instance from the value as a parameter and also label template receives value instance. In addition, the start and end slots + are available to define the start and end templating for MeterGroup respectively. +
+Layout of the MeterGroup is configured with the orientation property that accepts horizontal and vertical as options.
+{{ $attrs.description }}
+List of class names used in the styled mode.
+Name | +Element | +
---|---|
p-metergroup | +Container element. | +
p-metergroup-horizontal | +Container element when orientation mode is horizontal. | +
p-metergroup-vertical | +Container element when orientation mode is vertical. | +
p-metergroup-meter-container | +Container of the meters. | +
p-metergroup-meter | +Content of a meter. | +
p-metergroup-label-list | +Container element of the list of labels. | +
p-metergroup-label-list-start | +Container element when label position is start. | +
p-metergroup-label-list-end | +Container element when label position is end. | +
p-metergroup-label-list-horizontal | +Container element when label orientation is horizontal. | +
p-metergroup-label-list-vertical | +Container element when label orientation is vertical. | +
p-metergroup-label-list-item | +Container element of a list item. | +
p-metergroup-label-list-type | +Container element of a list type. | +
p-metergroup-label | +Content of a label. | +