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
| Property | Type | Description | Defined in |
|---|---|---|---|
height | number | Height of the surface, in pixels. | packages/core/src/core/navigator.ts:44 |
width | number | Width of the surface, in pixels. | packages/core/src/core/navigator.ts:42 |