Skip to content

createPortal

reference
1 min readUpdated

Kind: Function

Source: src/jsx/dom/render.ts

Part of: Jsx

Signature

ts
function createPortal(children: Child, container: HTMLElement, key: string): Child

Parameters

NameType
childrenChild
containerHTMLElement
keystring

Returns: Child

Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (1)

  • clearCachesrc/jsx/dom/intrinsic-element/components.ts:18

Was this page helpful?

Download as PDF
createPortal — Hono (narrator proof)