SVGZoom

< svg‎ | objects
Jump to: navigation, search

SVGZoom

This article is Not Ready.



Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.

Inherits from SVGElement

Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from SVGElement

Properties

No properties.

Methods

No methods.

Events

No events.


Compatibility

There is no data available for topic "webapi", feature "SVGZoom". If you think that there should be data available, consider opening an issue.

Needs Examples: This section should include examples.

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.

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]