SVGDocumentEvents::onabort Event
.png)
[This documentation is preliminary and is subject to change.]
Occurs when page loading is stopped before an element is loaded completely.
Syntax
void onabort( IDOMUIEvent *pEvt );
Parameters
- pEvt
[in] A pointer to the IDOMUIEvent object that receives the event properties.
Return Value
No return value.
Event DISPID
DISPID_SVGDOCUMENTEVENTS_ONABORTThe DISPID for this event is defined in mshtml.idl. Use this value to identify the event handler when implementing IDispatch::Invoke.
Event Information
Bubbles Yes Cancels No To invoke The user presses the browser's stop button before the element is loaded completely. Default action The designated element stops loading.
Event Object Properties
The IHTMLEventObj interface contains additional information about the current event. When the onabort event is fired, you can use the IHTMLWindow2::event property to retrieve an IHTMLEventObj interface. To obtain an alternate interface pointer such as IHTMLEventObj2 or IHTMLEventObj3, call QueryInterface on the object.
Available Properties
IDOMEvent::bubbles ![]()
Retrieves whether the event bubbles. IDOMEvent::cancelable ![]()
Retrieves whether the event's default action can be canceled. IDOMEvent::currentTarget ![]()
The event target currently being processed. IDOMEvent::defaultPrevented ![]()
Retrieves whether preventDefault was called. IDOMEvent::eventPhase ![]()
Retrieves the event phase that is being evaluated. IDOMEvent::target ![]()
Retrieves the element to which the event was originally dispatched. IDOMEvent::timeStamp ![]()
Retrieves the time in milliseconds when the event occurred. IDOMEvent::type ![]()
Retrieves the name of the event. IDOMEvent::preventDefault ![]()
Cancels the default action of the event. IDOMEvent::stopPropagation ![]()
Prevents propagation of the event beyond the current target. IDOMEvent::stopImmediatePropagation ![]()
Prevents any further propagation of the event. IDOMEvent::trusted ![]()
Indicates whether the event was created by a trusted event source. IDOMEvent::cancelBubble ![]()
Stops an event from propagating up from the current target. IDOMEvent::srcElement ![]()
Retrieves the element to which the event was originally dispatched. IDOMUIEvent::view ![]()
Retrieves the window object from which the event was generated. IDOMUIEvent::detail ![]()
Retrieves additional detail about the event. Refer to the specific event object for additional event properties.
Remarks
The SVGDocumentEvents::onabort event occurs when page loading is stopped before an element is loaded completely.
The target of the event is the svg element.
See Also