OptionalconfigAn optional configuration that will pass-through the module:utils/dom/position~getOptimalPosition helper to the module:utils/dom/position~DomPoint returned by this helper. This configuration may, for instance, let the user of module:utils/dom/position~getOptimalPosition know that this particular position comes with a certain presentation.
The left value of the element rect that would represent the position.
OptionalnameThe name of the position. It helps the user of the module:utils/dom/position~getOptimalPosition helper to recognize different positioning function results. It will pass through to the module:utils/dom/position~DomPoint returned by the helper.
The top value of the element rect that would represent the position.
The result of module:utils/dom/position~PositioningFunction.