mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Refactor - Misc section
This commit is contained in:
parent
ab677831bd
commit
1b88a2f7d1
13 changed files with 47 additions and 39 deletions
4
components/lib/progressbar/ProgressBar.d.ts
vendored
4
components/lib/progressbar/ProgressBar.d.ts
vendored
|
@ -45,6 +45,10 @@ export interface ProgressBarPassThroughOptions<T = any> {
|
|||
* Used to pass attributes to the root's DOM element.
|
||||
*/
|
||||
root?: ProgressBarPassThroughOptionType<T>;
|
||||
/**
|
||||
* Used to pass attributes to the indeterminate container's DOM element.
|
||||
*/
|
||||
indeterminateContainer?: ProgressBarPassThroughOptionType<T>;
|
||||
/**
|
||||
* Used to pass attributes to the value's DOM element.
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<slot>{{ value + '%' }}</slot>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="indeterminate" :class="cx('container')" v-bind="ptm('container')">
|
||||
<div v-if="indeterminate" :class="cx('indeterminateContainer')" v-bind="ptm('indeterminateContainer')">
|
||||
<div :class="cx('value')" v-bind="ptm('value')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -8,7 +8,7 @@ const classes = {
|
|||
'p-progressbar-indeterminate': instance.indeterminate
|
||||
}
|
||||
],
|
||||
container: 'p-progressbar-indeterminate-container',
|
||||
indeterminateContainer: 'p-progressbar-indeterminate-container',
|
||||
value: 'p-progressbar-value',
|
||||
label: 'p-progressbar-label'
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue