Class: Window

Window()

new Window()

Create a Window.

Source:

Members

propTypes :Object

The properties.

Type:
  • Object
Source:

Methods

componentDidMount()

The portal element is inserted in the DOM tree after the Windows's children are mounted, meaning that children will be mounted on a detached DOM node. If a child component requires to be attached to the DOM tree immediately when mounted, for example to measure a DOM node, or uses 'autoFocus' in a descendant, add state to Window and only render the children when Window is inserted in the DOM tree.

Source:

componentWillUnmount()

componentWillUnmount - remove child from parent element

Source:

render()

The render function.

Source:

Window()

new Window()

Window component that creates a React portal that renders children into a DOM node that exists outside the DOM hierarchy of the parent component. By default, Window Component is draggable.

Source:

Extends

  • React.Component

Members

propTypes :Object

The properties.

Type:
  • Object
Source:

Methods

componentDidMount()

The portal element is inserted in the DOM tree after the Windows's children are mounted, meaning that children will be mounted on a detached DOM node. If a child component requires to be attached to the DOM tree immediately when mounted, for example to measure a DOM node, or uses 'autoFocus' in a descendant, add state to Window and only render the children when Window is inserted in the DOM tree.

Source:

componentWillUnmount()

componentWillUnmount - remove child from parent element

Source:

render()

The render function.

Source: