Mixin: ZoomMixin

ZoomMixin

Methods


zoom( [zoom])

If zoom is string, selects a zoom type. If zoom is true, use the normal zoom type. If zoom is not specified, renders the current zoom Setting.
Parameters:
Name Type Argument Default Description
zoom boolean | string <optional>
false
Source:
Returns:
Type
zoom | ZoomMixin
Example
zoomMixin.zoom(true) // selects normal zoom type
zoomMixin.zoom(false) // disable the zoom feature.
zoomMixin.zoom('brush') // selects brushable zoom type.