Skip to content

Documentation / @ripl/core / NavigatorViewport

Interface: NavigatorViewport ​

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

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

Properties ​

PropertyTypeDescriptionDefined in
heightnumberHeight of the surface, in logical pixels.packages/core/src/core/navigator.ts:45
widthnumberWidth of the surface, in logical pixels.packages/core/src/core/navigator.ts:43