#include <stdlib.h>
#include "events/mutation_event.h"
|
dom_exception | _dom_mutation_event_create (struct dom_mutation_event **evt) |
|
void | _dom_mutation_event_destroy (struct dom_mutation_event *evt) |
|
dom_exception | _dom_mutation_event_initialise (struct dom_mutation_event *evt) |
|
void | _dom_mutation_event_finalise (struct dom_mutation_event *evt) |
|
dom_exception | _dom_mutation_event_get_related_node (dom_mutation_event *evt, struct dom_node **node) |
|
dom_exception | _dom_mutation_event_get_prev_value (dom_mutation_event *evt, dom_string **ret) |
|
dom_exception | _dom_mutation_event_get_new_value (dom_mutation_event *evt, dom_string **ret) |
|
dom_exception | _dom_mutation_event_get_attr_name (dom_mutation_event *evt, dom_string **ret) |
|
dom_exception | _dom_mutation_event_get_attr_change (dom_mutation_event *evt, dom_mutation_type *type) |
|
dom_exception | _dom_mutation_event_init (dom_mutation_event *evt, dom_string *type, bool bubble, bool cancelable, struct dom_node *node, dom_string *prev_value, dom_string *new_value, dom_string *attr_name, dom_mutation_type change) |
|
dom_exception | _dom_mutation_event_init_ns (dom_mutation_event *evt, dom_string *namespace, dom_string *type, bool bubble, bool cancelable, struct dom_node *node, dom_string *prev_value, dom_string *new_value, dom_string *attr_name, dom_mutation_type change) |
|
◆ _dom_mutation_event_create()
◆ _dom_mutation_event_destroy()
◆ _dom_mutation_event_finalise()
◆ _dom_mutation_event_get_attr_change()
Get the way the attribute change
- Parameters
-
evt | The Event object |
type | The change type |
- Returns
- DOM_NO_ERR.
◆ _dom_mutation_event_get_attr_name()
Get the attr name
- Parameters
-
evt | The Event object |
ret | The attribute name |
- Returns
- DOM_NO_ERR.
◆ _dom_mutation_event_get_new_value()
Get the new value
- Parameters
-
evt | The Event object |
ret | The new value |
- Returns
- DOM_NO_ERR.
◆ _dom_mutation_event_get_prev_value()
Get the old value
- Parameters
-
evt | The Event object |
ret | The old value |
- Returns
- DOM_NO_ERR.
◆ _dom_mutation_event_get_related_node()
Get the related node
- Parameters
-
evt | The Event object |
node | The related node |
- Returns
- DOM_NO_ERR.
◆ _dom_mutation_event_init()
Initialise the MutationEvent
- 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 mutation node |
prev_value | The old value |
new_value | The new value |
attr_name | The attribute's name |
change | The change type |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
◆ _dom_mutation_event_init_ns()
Initialise the MutationEvent 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 mutation node |
prev_value | The old value |
new_value | The new value |
attr_name | The attribute's name |
change | The change type |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
◆ _dom_mutation_event_initialise()