#include <stdbool.h>
#include <dom/core/exceptions.h>
#include <dom/core/string.h>
Go to the source code of this file.
◆ dom_custom_event_get_detail
#define dom_custom_event_get_detail |
( |
| e, |
|
|
| d ) |
Value:
(void **) (d))
dom_exception _dom_custom_event_get_detail(dom_custom_event *evt, void **detail)
Definition custom_event.c:70
Definition custom_event.h:15
◆ dom_custom_event_init_ns
#define dom_custom_event_init_ns |
( |
| e, |
|
|
| n, |
|
|
| t, |
|
|
| b, |
|
|
| c, |
|
|
| d ) |
Value:
(bool) (b), (bool) (c), (void *) (d))
dom_exception _dom_custom_event_init_ns(dom_custom_event *evt, dom_string *namespace, dom_string *type, bool bubble, bool cancelable, void *detail)
Definition custom_event.c:89
◆ dom_custom_event
typedef struct dom_custom_event dom_custom_event |
◆ _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.