primevue-mirror/packages/primevue/scripts/components/blockui.js

59 lines
1.4 KiB
JavaScript
Raw Normal View History

const BlockUIProps = [
{
2022-09-14 14:26:41 +00:00
name: 'blocked',
type: 'array',
default: 'null',
description: 'Controls the blocked state.'
},
{
2022-09-14 14:26:41 +00:00
name: 'fullscreen',
type: 'menuitem',
default: 'null',
description: 'When enabled, the whole document gets blocked.'
},
{
2022-09-14 14:26:41 +00:00
name: 'baseZIndex',
type: 'number',
default: '0',
description: 'Base zIndex value to use in layering.'
},
{
2022-09-14 14:26:41 +00:00
name: 'autoZIndex',
type: 'boolean',
default: 'true',
description: 'Whether to automatically manage layering.'
2023-04-24 09:32:20 +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.'
}
];
const BlockUIEvents = [
{
2022-09-14 14:26:41 +00:00
name: 'block',
description: 'Fired when the element gets blocked.'
},
{
2022-09-14 14:26:41 +00:00
name: 'unblock',
description: 'Fired when the element gets unblocked.'
}
];
module.exports = {
blockui: {
2022-09-14 14:26:41 +00:00
name: 'BlockUI',
description: 'BlockUI can either block other components or the whole page.',
props: BlockUIProps,
events: BlockUIEvents
}
};