#include <stdlib.h>
#include "events/custom_event.h"
#include "core/document.h"
◆ _dom_custom_event_create()
◆ _dom_custom_event_destroy()
◆ _dom_custom_event_finalise()
◆ _dom_custom_event_get_detail()
Get the detail object of this custom event
- Parameters
-
| evt | The Event object |
| detail | The returned detail object |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
◆ _dom_custom_event_init_ns()
Initialise this custom event
- Parameters
-
| evt | The Event object |
| namespace | The namespace of this new Event |
| type | The Event type |
| bubble | Whether this event can bubble |
| cancelable | Whether this event is cancelable |
| detail | The detail object of this custom event |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
◆ _dom_custom_event_initialise()