Function wrapChildrenNow

Wraps the element's children in the given wrapper, or a newly created element if not given.

  • Parameters

    • element: Element
    • Optionaloptions: { ignoreMove?: boolean; wrapper?: HTMLElement | (keyof HTMLElementTagNameMap) }

    Returns HTMLElement