#include <stdlib.h>
#include "events/mutation_name_event.h"
#include "core/document.h"
#include "utils/utils.h"
|
dom_exception | _dom_mutation_name_event_create (struct dom_mutation_name_event **evt) |
|
void | _dom_mutation_name_event_destroy (struct dom_mutation_name_event *evt) |
|
dom_exception | _dom_mutation_name_event_initialise (struct dom_mutation_name_event *evt) |
|
void | _dom_mutation_name_event_finalise (struct dom_mutation_name_event *evt) |
|
dom_exception | _dom_mutation_name_event_get_prev_namespace (dom_mutation_name_event *evt, dom_string **namespace) |
|
dom_exception | _dom_mutation_name_event_get_prev_node_name (dom_mutation_name_event *evt, dom_string **name) |
|
dom_exception | _dom_mutation_name_event_init (dom_mutation_name_event *evt, dom_string *type, bool bubble, bool cancelable, struct dom_node *node, dom_string *prev_ns, dom_string *prev_name) |
|
dom_exception | _dom_mutation_name_event_init_ns (dom_mutation_name_event *evt, dom_string *namespace, dom_string *type, bool bubble, bool cancelable, struct dom_node *node, dom_string *prev_ns, dom_string *prev_name) |
|
◆ _dom_mutation_name_event_create()
◆ _dom_mutation_name_event_destroy()
◆ _dom_mutation_name_event_finalise()
◆ _dom_mutation_name_event_get_prev_namespace()
Get the previous namespace
- Parameters
-
evt | The Event object |
namespace | The previous namespace of this event |
- Returns
- DOM_NO_ERR.
◆ _dom_mutation_name_event_get_prev_node_name()
Get the previous node name
- Parameters
-
evt | The Event object |
name | The previous node name |
- Returns
- DOM_NO_ERR.
◆ _dom_mutation_name_event_init()
Initialise the MutationNameEvent
- Parameters
-
evt | The Event object |
type | The type of this UIEvent |
bubble | Whether this event can bubble |
cancelable | Whether this event is cancelable |
node | The node whose name change |
prev_ns | The old namespace |
prev_name | The old name |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
◆ _dom_mutation_name_event_init_ns()
Initialise the MutationNameEvent with namespace
- Parameters
-
evt | The Event object |
namespace | The namespace |
type | The type of this UIEvent |
bubble | Whether this event can bubble |
cancelable | Whether this event is cancelable |
node | The node whose name change |
prev_ns | The old namespace |
prev_name | The old name |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
◆ _dom_mutation_name_event_initialise()