ReactPortal class

A virtual DOM node representing a React Portal, returned by ReactDom.createPortal.

Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.

Children can be any renderable React child, such as an element, string, or fragment.

While closely related, portals are not ReactElements.

See: reactjs.org/docs/portals.html

Annotations
  • @JS()
  • @anonymous

Constructors

ReactPortal()

Properties

children → dynamic
no setter
containerInfo → dynamic
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited