Showing content from https://webplatform.github.io/docs/svg/objects/SVGZoom below:
SVGZoom · WebPlatform Docs
SVGZoom
Inherits from SVGElementSVGElement
Properties
No properties.
Methods
No methods.
Events
No events.
Inherited from SVGElement Properties
No properties.
Methods
No methods.
Events
No events.
Notes Remarks
Note: In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherent core HTML attributes, properties, events, methods, and styles.
The zoom event occurs when a user initiates an action that causes the current view of the SVG document (or SVGdocument fragment) to be rescaled (including any change to the svg element’s currentScale property).
Note: A zoom event applies only to the outermost svg element.
Syntax Standards information
Members
The SVGZoomEvent object has these methods:
The SVGZoomEvent object has these properties:
- bubbles: Gets a value that indicates whether an event propagates up from the event target.
- cancelable: Gets a value that indicates whether you can cancel an event’s default action.
- cancelBubble: Gets or sets a value that indicates whether an event should be stopped from propagating up from the current target.
- currentTarget: Gets the event target that is currently being processed.
- defaultPrevented: Gets a value that indicates whether the default action should be canceled.
- detail: Gets additional information about an event.
- eventPhase: Gets the event phase that is being evaluated.
- isTrusted: Gets a value that indicates whether a trusted event source created an event.
- newScale: Gets the new scale value of a zoom event.
- newTranslate: Gets the new translation values of a zoom event.
- previousScale: Gets the previous scale value of a zoom event.
- previousTranslate: Gets the previous translation values of a zoom event.
- srcElement: Gets the element that the event was originally dispatched to. Compare to target.
- target: Gets the element that is the target of the event.
- timeStamp: Gets the time, in milliseconds, when an event occurred.
- type: Gets the name of an event.
- view: Gets the window object that an event is generated from.
Attributions
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4