Module mt_dom::patch[][src]

Expand description

patch module

Structs

Add attributes

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

The patch is changing the text content of a text node

InsertNode patch contains the a node to insert into

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

remove the node at this NodeIdx

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

becomes

Enums

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

Type Definitions

NodeIdx alias type