primevue-mirror/apps/showcase/api-generator/components/scrollpanel.js

29 lines
769 B
JavaScript
Raw Normal View History

const ScrollPanelProps = [
{
2022-09-14 14:26:41 +00:00
name: 'step',
type: 'number',
default: '5',
description: 'Step factor to scroll the content while pressing the arrow keys.'
2023-03-27 06:27:52 +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 = {
scrollpanel: {
2022-09-14 14:26:41 +00:00
name: 'ScrollPanel',
description: 'ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.',
props: ScrollPanelProps
}
};