Creates and initializes a new ZoomControl from the specified element. This method is static and can be called without creating an instance of the class.
Namespace: MindFusion.Controls
File: ZoomControl.js
JavaScript Copy Code |
---|
function create (element) |
HTMLCanvasElement. The DOM element that the zoomControl should be attached to.
A ZoomControl object that represents the newly created zoom control.