ViewportOffset
interface
The offset (in pixels) of the viewport from every direction used when positioning a sticky toolbar or other absolutely positioned UI elements.
Properties
bottom?: numberinheritedmodule:ui/editorui/editorui~ViewportOffset#bottomThe bottom offset in pixels.
left?: numberinheritedmodule:ui/editorui/editorui~ViewportOffset#leftThe left offset in pixels.
right?: numberinheritedmodule:ui/editorui/editorui~ViewportOffset#rightThe right offset in pixels.
top?: numberinheritedmodule:ui/editorui/editorui~ViewportOffset#topThe top offset in pixels.
visualTop?: numbermodule:ui/editorui/editorui~ViewportOffset#visualTopThe top offset of the visual viewport.
This value is calculated based on the visual viewport position.