Classes
Functions
-
protected
generatePositions( [ options ] = { [options.sideOffset], [options.heightOffset], [options.stickyVerticalOffset], [options.config] } ) → Object.<String, PositioningFunction>
module:ui/panel/balloon/balloonpanelview~generatePositions
Returns available BalloonPanelView
positioning functions adjusted by the specific offsets.
Parameters
[ options ]
:
Object
Options to generate positions. If not specified, this helper will simply return
defaultPositions
.
Properties
[ options.sideOffset ]
:
Number
A custom side offset (in pixels) of each position. If
not specified, the default value
will be used.
[ options.heightOffset ]
:
Number
A custom height offset (in pixels) of each position. If
not specified, the default value
will be used.
[ options.stickyVerticalOffset ]
:
Number
A custom offset (in pixels) of the viewportStickyNorth
positioning function.
If not specified, the default value
will be used.
[ options.config ]
:
Object
Additional configuration of the balloon balloon panel view.
Currently only withArrow
is supported. Learn more
about positioning functions.
Returns
Object.<String, PositioningFunction>
-
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing?
Please report it via our issue tracker.