Refactor - Misc section

This commit is contained in:
tugcekucukoglu 2024-04-30 09:54:48 +03:00
parent ab677831bd
commit 1b88a2f7d1
13 changed files with 47 additions and 39 deletions

View file

@ -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.
*/

View file

@ -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>

View file

@ -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'
};