Sign up (with export icon)

DomPoint

Api-interface icon interface

A position object which instances are created and used by the getOptimalPosition helper.

top and left properties of the position instance translate directly to the top and left properties in CSS "position: absolute coordinate system". If set on the positioned element in DOM, they will make it display it in the right place in the viewport.

Properties

  • Chevron-right icon

    config : object | undefined
    readonly

    Additional position configuration, as passed from the positioning function.

    This object can be use, for instance, to pass through presentation options used by the consumer of the getOptimalPosition helper.

  • Chevron-right icon

    left : number
    readonly

    The left value in pixels in the CSS position: absolute coordinate system. Set it on the positioned element in DOM to move it to the position.

  • Chevron-right icon

    name : string | undefined
    readonly

  • Chevron-right icon

    top : number
    readonly

    The top value in pixels in the CSS position: absolute coordinate system. Set it on the positioned element in DOM to move it to the position.