Methods
Viewer

resize

Resizes the viewer to fit the container.

When mounting the viewer instance to a fixed sized container, you may need to call this method to resize the viewer when the container size changes.

Usage

JS