mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Convert to PrimeVue monorepo
This commit is contained in:
parent
970ba75b06
commit
61929eae75
4144 changed files with 59008 additions and 36177 deletions
28
packages/primevue/scripts/components/portal.js
Normal file
28
packages/primevue/scripts/components/portal.js
Normal file
|
@ -0,0 +1,28 @@
|
|||
const PortalProps = [
|
||||
{
|
||||
name: 'appendTo',
|
||||
type: 'string',
|
||||
default: 'body',
|
||||
description: 'A valid query selector or an HTMLElement to specify where the dialog gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||
},
|
||||
{
|
||||
name: 'disabled',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'If disabled, the Portal feature is eliminated and the content is displayed directly.'
|
||||
}
|
||||
];
|
||||
|
||||
const PortalEvents = [];
|
||||
|
||||
const PortalSlots = [];
|
||||
|
||||
module.exports = {
|
||||
portal: {
|
||||
name: 'Portal',
|
||||
description: 'Portal moves its container to a specific location based on target elements. Basically it uses <Teleport> in the background.',
|
||||
props: PortalProps,
|
||||
events: PortalEvents,
|
||||
slots: PortalSlots
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue