Skip to content

GhostPortal reference ​

Package: @ghostvue/vue. Status: experimental (stability policy).

Thin SSR-safe wrapper around Vue Teleport for rendering overlay content outside the parent DOM hierarchy. Defers teleportation until after mount so SSR and initial hydration render inline without touching document.

Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.

All component references

Props ​

NameTypeDefaultRequiredDescription
deferbooleanfalseNoDefer target lookup until after the current mount or update cycle so targets rendered later in the tree resolve.
disabledbooleanfalseNoRender slot content inline instead of teleporting.
toGhostPortalTarget"body"NoTarget CSS selector, DOM element, or null (disables teleportation) to teleport children into after mount.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultOverlay content to teleport to the target container once mounted (or render inline when disabled or during SSR).

Slot props: default ​

None declared.

Exposed members ​

None declared.

Parts and data attributes ​

None declared.

CSS variables ​

None declared.

Accessibility ​

Role: generic. APG pattern: https://www.w3.org/WAI/ARIA/apg/.

Required ARIA attributes: none.

Keyboard ​

None declared.

Verification ​

Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

None declared.