Skip to main content

Interface: ViewerFirstView

The first view of a DbmlViewer (see viewerFirstView).

Properties​

canvas​

canvas: object;

Size of its canvas, px (inside the border).

height​

height: number;

width​

width: number;

detail​

detail: FirstViewFrame | null;

How the first view frames the diagram; null when there is nothing to frame.


fitPadding​

fitPadding: object;

The padding of a first view that fits (room for a minimap shown whatever the viewport).

bottom​

bottom: number;

left​

left: number;
right: number;

top​

top: number;

height​

height: number;

Outer height of the viewer, px (a narrow viewer shrinks to its diagram).


padding​

padding: object;

The canvas's padding, px.

bottom​

bottom: number;

left​

left: number;

right​

right: number;

top​

top: number;