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

59 lines
1.4 KiB
JavaScript

const BlockUIProps = [
{
name: 'blocked',
type: 'array',
default: 'null',
description: 'Controls the blocked state.'
},
{
name: 'fullscreen',
type: 'menuitem',
default: 'null',
description: 'When enabled, the whole document gets blocked.'
},
{
name: 'baseZIndex',
type: 'number',
default: '0',
description: 'Base zIndex value to use in layering.'
},
{
name: 'autoZIndex',
type: 'boolean',
default: 'true',
description: 'Whether to automatically manage layering.'
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.'
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
}
];
const BlockUIEvents = [
{
name: 'block',
description: 'Fired when the element gets blocked.'
},
{
name: 'unblock',
description: 'Fired when the element gets unblocked.'
}
];
module.exports = {
blockui: {
name: 'BlockUI',
description: 'BlockUI can either block other components or the whole page.',
props: BlockUIProps,
events: BlockUIEvents
}
};