SVGResize | onresize event
Occurs when the document view is being resized.
![]() ![]() |
Syntax
| HTML Attribute | <element onresize = "handler(event)"> |
|---|---|
| Event Property | object.onresize = handler; |
| attachEvent Method | object.attachEvent("onresize", handler) |
| addEventListener Method | object.addEventListener("SVGResize", handler, useCapture) |
Event information
| Synchronous | No |
|---|---|
| Bubbles | Yes |
| Cancelable | No |
Event handler parameters
- pEvt [in]
-
Type: IDOMUIEvent
The IDOMEvent object.
Standards information
- Scalable Vector Graphics: Scripting, Section 18.4.3
Remarks
The onresize event applies only to the outermost svg element and is dispatched after the resize operation finishes.
N/A
To invoke this event, do one of the following:
- The user changes the size of the document view.
See also
Show:

