Table of Contents
Component
Component
register
Parameters
name
string must be a unique dash separate string.Self
Class component life cycle class. (optional, defaultComponent
)
Examples
c3
VComment
Extends VNode
Create a new virtual comment.
VNode
diff
Create a Vpatch with all differences between given node
Parameters
next
VNode node to diff aganst.patch
VPatch VPatch to add changes to. (optional, defaultnew VPatch()
)
Returns any VPatch
applyPatch
Apply all changes to given DOM Element
Parameters
node
HTMLElementcontext
Object bind to all event (optional, default{}
)
Examples
const parser = const patch = patch