CustomEvent.InitCustomEvent
Contents
[
Hide
]CustomEvent.InitCustomEvent method
/// The InitEvent
method is used to initialize the value of an Event
created through the IDocumentEvent
interface.
public void InitCustomEvent(String type, bool bubbles, bool cancelable, object detail)
Parameter | Type | Description |
---|---|---|
type | String | The event type. |
bubbles | Boolean | if set to true [bubbles]. |
cancelable | Boolean | if set to true [cancelable]. |
detail | Object | The custom data. |
Remarks
This method may only be called before the Event has been dispatched via the DispatchEvent
method, though it may be called multiple times during that phase if necessary. If called multiple times the final invocation takes precedence. If called from a subclass of Event interface only the values specified in the initEvent method are modified, all other attributes are left unchanged.
See Also
- class CustomEvent
- package com.aspose.html.Dom.Events
- package Aspose.HTML