Module

ui/panel/balloon/balloonpanelview

@ckeditor/ckeditor5-ui/src/panel/balloon/balloonpanelview

module

Filtering

Classes

Functions

  • generatePositions( [ options ] = { [options.horizontalOffset], [options.verticalOffset], [options.stickyVerticalOffset], [options.config] } ) → Object.<String, positioningFunction>

    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>