Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrsPatch ¶
type ChildPatch ¶
type EventHandler ¶
N.B. the pointer indirection is so these can be compared.
type EventsPatch ¶
type EventsPatch struct {
Add map[string]EventHandler
Remove []string
}
type ModifyPatch ¶
type ModifyPatch struct {
Attrs AttrsPatch
Events EventsPatch
Children ChildPatch
}
func (ModifyPatch) Patch ¶
func (ModifyPatch) Patch(p, n DomNode) DomNode
type ReplacePatch ¶
type ReplacePatch struct {
Replacement VNode
}
func (ReplacePatch) Patch ¶
func (p ReplacePatch) Patch(parent, n DomNode) DomNode
Click to show internal directories.
Click to hide internal directories.