SVGZoomAndPan object
Determines whether an element can zoom or pan.
![]() ![]() |
Syntax
element.zoomAndPan
DOM Information
Inheritance Hierarchy
The SVGZoomAndPan does not inherit from any class or interface.Members
The SVGZoomAndPan object does not define any members.
Standards information
- Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.29
Remarks
Zooming is the simultaneous operation of the scale and translate actions in the SVGTransform element. Panning just uses the translate actions of SVGTransform element. SVGZoomAndPan provides two values:
- magnify
- disable
The default is magnify and allows zooming and panning. Disable will disable zooming and panning.
Show:

