extend
Extends the base viewer functionality with the provided mixin. A mixin may add additional properties, functions, or other behavior to the provided viewer instance.
Parameters
mixin
The Viewer mixin to add to this instance.
options
The options object to be passed to the mixin function.