Renderer
Render
Constructor Summary
Public Constructor | ||
public |
constructor(component: Function) Constructor |
Method Summary
Public Methods | ||
public |
createTreeAndAttachDOM(item: RenderItem): {node: DOMNode, tree: Object} Create virtual-dom tree and attach DOMNode |
|
public |
render(newItems: RenderItem[]) render |
Public Constructors
Public Methods
public createTreeAndAttachDOM(item: RenderItem): {node: DOMNode, tree: Object} source
Create virtual-dom tree and attach DOMNode
Params:
Name | Type | Attribute | Description |
item | RenderItem | item object |
public render(newItems: RenderItem[]) source
render
Params:
Name | Type | Attribute | Description |
newItems | RenderItem[] | render item list |