Skip to content

Documentation / @ripl/core / NavigatorViewport

Interface: NavigatorViewport

Defined in: packages/core/src/core/navigator.ts:40

The pixel dimensions of the surface the navigator drives (used to centre/fit content).

Properties

PropertyTypeDescriptionDefined in
heightnumberHeight of the surface, in pixels.packages/core/src/core/navigator.ts:44
widthnumberWidth of the surface, in pixels.packages/core/src/core/navigator.ts:42