[][src]Module mt_dom::patch

patch module

Structs

AddAttributes

Add attributes

AppendChildren

Append a vector of child nodes to a parent node id.

ChangeText

The patch is changing the text content of a text node

InsertNode

InsertNode patch contains the a node to insert into

RemoveAttributes

Remove attributes that the old node had that the new node doesn't

RemoveNode

remove the node at this NodeIdx

ReplaceNode

Replace a node with another node. This typically happens when a node's tag changes. ex:

becomes

Enums

Patch

A Patch encodes an operation that modifies a real DOM element or native UI element

Type Definitions

NodeIdx

NodeIdx alias type