ViewerMixin

typealias ViewerMixin = (viewer: Viewer, options: Any) -> Unit(source)

A function that augments a Viewer instance with additional functionality.

Parameters

viewer

The viewer instance.

options

Options object to be passed to the mixin function.

See also