2022-09-12 07:13:52 +00:00
const PortalProps = [
{
2022-09-14 14:26:41 +00:00
name : 'appendTo' ,
type : 'string' ,
default : 'body' ,
2022-09-12 07:13:52 +00:00
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.'
} ,
{
2022-09-14 14:26:41 +00:00
name : 'disabled' ,
type : 'boolean' ,
default : 'false' ,
description : 'If disabled, the Portal feature is eliminated and the content is displayed directly.'
2022-09-12 07:13:52 +00:00
}
] ;
const PortalEvents = [ ] ;
const PortalSlots = [ ] ;
module . exports = {
portal : {
2022-09-14 14:26:41 +00:00
name : 'Portal' ,
description : 'Portal moves its container to a specific location based on target elements. Basically it uses <Teleport> in the background.' ,
2022-09-12 07:13:52 +00:00
props : PortalProps ,
events : PortalEvents ,
slots : PortalSlots
}
} ;