Function drekLift

  • Tries to lift the rendering context of the given DOM node to enclosing one.

    It may be useful to call this method e.g. on a custom element after appending it to fragment. The former may access its rendering context in constructor. Calling this method would lift that context to fragment's one, so the custom element would be notified on its settlement.

    Does nothing if the given node has no rendering context attached to it.

    Type Parameters

    • TNode extends Node<TNode>

    Parameters

    • node: TNode

      A DOM node with rendering context to lift.

    Returns TNode

    The node itself.

Generated using TypeDoc