Interface

ViewportOffset (ui/editorui)

@ckeditor/ckeditor5-ui/src/editorui/editorui

interface

The offset (in pixels) of the viewport from every direction used when positioning a sticky toolbar or other absolutely positioned UI elements.

Filtering

Properties

  • inherited

    bottom : number | undefined

    The bottom offset in pixels.

  • inherited

    left : number | undefined

    The left offset in pixels.

  • inherited

    right : number | undefined

    The right offset in pixels.

  • inherited

    top : number | undefined

    The top offset in pixels.

  • visualTop : number | undefined

    The top offset of the visual viewport.

    This value is calculated based on the visual viewport position.