Interface

PositioningFunctionResult (utils/dom)

@ckeditor/ckeditor5-utils/src/dom/position

interface

Filtering

Properties

  • config : object | undefined

    An optional configuration that will pass-through the getOptimalPosition helper to the DomPoint returned by this helper. This configuration may, for instance, let the user of getOptimalPosition know that this particular position comes with a certain presentation.

  • left : number

    The left value of the element rect that would represent the position.

  • name : string | undefined

    The name of the position. It helps the user of the getOptimalPosition helper to recognize different positioning function results. It will pass through to the DomPoint returned by the helper.

  • top : number

    The top value of the element rect that would represent the position.