• Set the position of the element.

    Parameters

    • element: HTMLElement | SVGElement

      The Html/Svg element to move.

    • position: Position2D

      The position the element should be moved to.

    Returns void