DomPositioningFunctionResult
interface
The result of PositioningFunction
.
Properties
-
config : object | undefined
module:utils/dom/position~DomPositioningFunctionResult#config
An optional configuration that will pass-through the
getOptimalPosition
helper to theDomPoint
returned by this helper. This configuration may, for instance, let the user ofgetOptimalPosition
know that this particular position comes with a certain presentation. -
left : number
module:utils/dom/position~DomPositioningFunctionResult#left
The
left
value of the element rect that would represent the position. -
name : string | undefined
module:utils/dom/position~DomPositioningFunctionResult#name
The name of the position. It helps the user of the
getOptimalPosition
helper to recognize different positioning function results. It will pass through to theDomPoint
returned by the helper. -
top : number
module:utils/dom/position~DomPositioningFunctionResult#top
The
top
value of the element rect that would represent the position.