Function setRefs

  • Sets the current value of the ref(s) in refs to element.

    • If refs is a single Ref, the current value of refs will be set to element
    • If refs is an array of Ref, then current value of every ref in refs will be set to element

    Parameters

    • element: Node

      Element to assign to ref(s)

    • refs: RefProp<Node>

      Ref(s) to assign element to.

    Returns void

Generated using TypeDoc