ui/panel/balloon/balloonpanelview
@ckeditor/ckeditor5-ui/src/panel/balloon/balloonpanelview
Filtering
Classes
-
BalloonPanelView
module:ui/panel/balloon/balloonpanelview~BalloonPanelView
The balloon panel view class.
Functions
-
generatePositions( [ options ] = { [options.horizontalOffset], [options.verticalOffset], [options.stickyVerticalOffset], [options.config] } ) → Object.<String, positioningFunction>
module:ui/panel/balloon/balloonpanelview~generatePositions
protected
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.horizontalOffset ] : Number
A custom horizontal offset (in pixels) of each position. If not specified, the default value will be used.
[ options.verticalOffset ] : Number
A custom vertical 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 an outdated information? Is something missing? Please report it via our issue tracker.