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.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
defer | boolean | false | No | Defer target lookup until after the current mount or update cycle so targets rendered later in the tree resolve. |
disabled | boolean | false | No | Render slot content inline instead of teleporting. |
to | GhostPortalTarget | "body" | No | Target CSS selector, DOM element, or null (disables teleportation) to teleport children into after mount. |
Emits
None declared.
Models
None declared.
Slots
| Name | Description |
|---|---|
default | Overlay 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.
| Category | Status | Evidence |
|---|---|---|
| Automated keyboard | Not reviewed | No declared key is mapped to a browser test yet. |
| Manual interaction | Not reviewed | No review recorded. |
| Assistive technology | Not reviewed | No review recorded. |
Examples
None declared.