mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Refactor #5257
This commit is contained in:
parent
0c6a35d280
commit
d77e66415b
8 changed files with 18 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div role="progressbar" :class="cx('root')" aria-valuemin="0" :aria-valuenow="value" aria-valuemax="100" v-bind="ptm('root')">
|
||||
<div role="progressbar" :class="cx('root')" aria-valuemin="0" :aria-valuenow="value" aria-valuemax="100" v-bind="ptmi('root')">
|
||||
<div v-if="determinate" :class="cx('value')" :style="progressStyle" v-bind="ptm('value')">
|
||||
<div v-if="value != null && value !== 0 && showValue" :class="cx('label')" v-bind="ptm('label')">
|
||||
<slot>{{ value + '%' }}</slot>
|
||||
|
@ -17,6 +17,7 @@ import BaseProgressBar from './BaseProgressBar.vue';
|
|||
export default {
|
||||
name: 'ProgressBar',
|
||||
extends: BaseProgressBar,
|
||||
inheritAttrs: false,
|
||||
computed: {
|
||||
progressStyle() {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue