primevue-mirror/api-generator/components/progressbar.js

41 lines
1.0 KiB
JavaScript
Raw Permalink Normal View History

const ProgressbarProps = [
{
2022-09-14 14:26:41 +00:00
name: 'value',
type: 'number',
default: 'null',
description: 'Current value of the progress.'
},
{
2022-09-14 14:26:41 +00:00
name: 'mode',
type: 'string',
default: 'determinate',
description: 'Defines the mode of the progress, valid values are "determinate" and "indeterminate".'
},
{
2022-09-14 14:26:41 +00:00
name: 'showValue',
type: 'boolean',
default: 'true',
description: 'Whether to display the progress bar value.'
2023-04-21 13:34:40 +00:00
},
{
name: 'pt',
type: 'any',
default: 'null',
2023-08-01 14:01:12 +00:00
description: 'Used to pass attributes to DOM elements inside the component.'
2023-07-06 13:20:37 +00:00
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
}
];
module.exports = {
progressbar: {
2022-09-14 14:26:41 +00:00
name: 'ProgressBar',
description: 'ProgressBar is a process status indicator.',
props: ProgressbarProps
}
};