MutationEvent

Struct MutationEvent 

Source
pub struct MutationEvent { /* private fields */ }
Expand description

The MutationEvent class.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent

Implementations§

Source§

impl MutationEvent

Source

pub fn related_node(&self) -> Option<Node>

Getter for the relatedNode field of this object.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent, Node

Source§

impl MutationEvent

Source

pub fn prev_value(&self) -> String

Getter for the prevValue field of this object.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent

Source§

impl MutationEvent

Source

pub fn new_value(&self) -> String

Getter for the newValue field of this object.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent

Source§

impl MutationEvent

Source

pub fn attr_name(&self) -> String

Getter for the attrName field of this object.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent

Source§

impl MutationEvent

Source

pub fn attr_change(&self) -> u16

Getter for the attrChange field of this object.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent

Source§

impl MutationEvent

Source

pub fn init_mutation_event(&self, type_: &str) -> Result<(), JsValue>

The initMutationEvent() method.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent

Source§

impl MutationEvent

Source

pub fn init_mutation_event_with_can_bubble( &self, type_: &str, can_bubble: bool, ) -> Result<(), JsValue>

The initMutationEvent() method.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent

Source§

impl MutationEvent

Source

pub fn init_mutation_event_with_can_bubble_and_cancelable( &self, type_: &str, can_bubble: bool, cancelable: bool, ) -> Result<(), JsValue>

The initMutationEvent() method.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent

Source§

impl MutationEvent

The initMutationEvent() method.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent, Node

Source§

impl MutationEvent

The initMutationEvent() method.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent, Node

Source§

impl MutationEvent

The initMutationEvent() method.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent, Node

Source§

impl MutationEvent

The initMutationEvent() method.

MDN Documentation

This API requires the following crate features to be activated: MutationEvent, Node

Source§

impl MutationEvent