abstract class
Renderer {
abstract selectRootElement(selectorOrNode: any, debugInfo?: RenderDebugInfo): any
abstract createElement(parentElement: any, name: string, debugInfo?: RenderDebugInfo): any
abstract createViewRoot(hostElement: any): any
abstract createTemplateAnchor(parentElement: any, debugInfo?: RenderDebugInfo): any
abstract createText(parentElement: any, value: string, debugInfo?: RenderDebugInfo): any
abstract projectNodes(parentElement: any, nodes: any[]): void
abstract attachViewAfter(node: any, viewRootNodes: any[]): void
abstract detachView(viewRootNodes: any[]): void
abstract destroyView(hostElement: any, viewAllNodes: any[]): void
abstract listen(renderElement: any, name: string, callback: Function): Function
abstract listenGlobal(target: string, name: string, callback: Function): Function
abstract setElementProperty(renderElement: any, propertyName: string, propertyValue: any): void
abstract setElementAttribute(renderElement: any, attributeName: string, attributeValue?: string): void
abstract setBindingDebugInfo(renderElement: any, propertyName: string, propertyValue: string): void
abstract setElementClass(renderElement: any, className: string, isAdd: boolean): void
abstract setElementStyle(renderElement: any, styleName: string, styleValue?: string): void
abstract invokeElementMethod(renderElement: any, methodName: string, args?: any[]): void
abstract setText(renderNode: any, text: string): void
abstract animate(element: any, startingStyles: any, keyframes: any[], duration: number, delay: number, easing: string, previousPlayers?: any[]): any
}
abstract class Renderer {
abstract selectRootElement(selectorOrNode: any, debugInfo?: RenderDebugInfo): any
abstract createElement(parentElement: any, name: string, debugInfo?: RenderDebugInfo): any
abstract createViewRoot(hostElement: any): any
abstract createTemplateAnchor(parentElement: any, debugInfo?: RenderDebugInfo): any
abstract createText(parentElement: any, value: string, debugInfo?: RenderDebugInfo): any
abstract projectNodes(parentElement: any, nodes: any[]): void
abstract attachViewAfter(node: any, viewRootNodes: any[]): void
abstract detachView(viewRootNodes: any[]): void
abstract destroyView(hostElement: any, viewAllNodes: any[]): void
abstract listen(renderElement: any, name: string, callback: Function): Function
abstract listenGlobal(target: string, name: string, callback: Function): Function
abstract setElementProperty(renderElement: any, propertyName: string, propertyValue: any): void
abstract setElementAttribute(renderElement: any, attributeName: string, attributeValue?: string): void
abstract setBindingDebugInfo(renderElement: any, propertyName: string, propertyValue: string): void
abstract setElementClass(renderElement: any, className: string, isAdd: boolean): void
abstract setElementStyle(renderElement: any, styleName: string, styleValue?: string): void
abstract invokeElementMethod(renderElement: any, methodName: string, args?: any[]): void
abstract setText(renderNode: any, text: string): void
abstract animate(element: any, startingStyles: any, keyframes: any[], duration: number, delay: number, easing: string, previousPlayers?: any[]): any
}
Methods
|
abstract selectRootElement(selectorOrNode: any, debugInfo?: RenderDebugInfo): any
abstract selectRootElement(selectorOrNode: any, debugInfo?: RenderDebugInfo): any
Parameters
selectorOrNode
|
any |
|
debugInfo
|
RenderDebugInfo |
Optional. Default is undefined .
|
Returns
any
|
|
abstract createElement(parentElement: any, name: string, debugInfo?: RenderDebugInfo): any
abstract createElement(parentElement: any, name: string, debugInfo?: RenderDebugInfo): any
Parameters
parentElement
|
any |
|
name
|
string |
|
debugInfo
|
RenderDebugInfo |
Optional. Default is undefined .
|
Returns
any
|
|
abstract createViewRoot(hostElement: any): any
abstract createViewRoot(hostElement: any): any
Parameters
Returns
any
|
|
abstract createTemplateAnchor(parentElement: any, debugInfo?: RenderDebugInfo): any
abstract createTemplateAnchor(parentElement: any, debugInfo?: RenderDebugInfo): any
Parameters
parentElement
|
any |
|
debugInfo
|
RenderDebugInfo |
Optional. Default is undefined .
|
Returns
any
|
|
abstract createText(parentElement: any, value: string, debugInfo?: RenderDebugInfo): any
abstract createText(parentElement: any, value: string, debugInfo?: RenderDebugInfo): any
Parameters
parentElement
|
any |
|
value
|
string |
|
debugInfo
|
RenderDebugInfo |
Optional. Default is undefined .
|
Returns
any
|
|
abstract projectNodes(parentElement: any, nodes: any[]): void
abstract projectNodes(parentElement: any, nodes: any[]): void
Parameters
parentElement
|
any |
|
nodes
|
any[] |
|
Returns
void
|
|
abstract attachViewAfter(node: any, viewRootNodes: any[]): void
abstract attachViewAfter(node: any, viewRootNodes: any[]): void
Parameters
node
|
any |
|
viewRootNodes
|
any[] |
|
Returns
void
|
|
abstract detachView(viewRootNodes: any[]): void
abstract detachView(viewRootNodes: any[]): void
Parameters
Returns
void
|
|
abstract destroyView(hostElement: any, viewAllNodes: any[]): void
abstract destroyView(hostElement: any, viewAllNodes: any[]): void
Parameters
hostElement
|
any |
|
viewAllNodes
|
any[] |
|
Returns
void
|
|
abstract listen(renderElement: any, name: string, callback: Function): Function
abstract listen(renderElement: any, name: string, callback: Function): Function
Parameters
renderElement
|
any |
|
name
|
string |
|
callback
|
Function |
|
Returns
Function
|
|
abstract listenGlobal(target: string, name: string, callback: Function): Function
abstract listenGlobal(target: string, name: string, callback: Function): Function
Parameters
target
|
string |
|
name
|
string |
|
callback
|
Function |
|
Returns
Function
|
|
abstract setElementProperty(renderElement: any, propertyName: string, propertyValue: any): void
abstract setElementProperty(renderElement: any, propertyName: string, propertyValue: any): void
Parameters
renderElement
|
any |
|
propertyName
|
string |
|
propertyValue
|
any |
|
Returns
void
|
|
abstract setElementAttribute(renderElement: any, attributeName: string, attributeValue?: string): void
abstract setElementAttribute(renderElement: any, attributeName: string, attributeValue?: string): void
Parameters
renderElement
|
any |
|
attributeName
|
string |
|
attributeValue
|
string |
Optional. Default is undefined .
|
Returns
void
|
|
Used only in debug mode to serialize property changes to dom nodes as attributes.
|
abstract setBindingDebugInfo(renderElement: any, propertyName: string, propertyValue: string): void
abstract setBindingDebugInfo(renderElement: any, propertyName: string, propertyValue: string): void
Parameters
renderElement
|
any |
|
propertyName
|
string |
|
propertyValue
|
string |
|
Returns
void
|
|
abstract setElementClass(renderElement: any, className: string, isAdd: boolean): void
abstract setElementClass(renderElement: any, className: string, isAdd: boolean): void
Parameters
renderElement
|
any |
|
className
|
string |
|
isAdd
|
boolean |
|
Returns
void
|
|
abstract setElementStyle(renderElement: any, styleName: string, styleValue?: string): void
abstract setElementStyle(renderElement: any, styleName: string, styleValue?: string): void
Parameters
renderElement
|
any |
|
styleName
|
string |
|
styleValue
|
string |
Optional. Default is undefined .
|
Returns
void
|
|
abstract invokeElementMethod(renderElement: any, methodName: string, args?: any[]): void
abstract invokeElementMethod(renderElement: any, methodName: string, args?: any[]): void
Parameters
renderElement
|
any |
|
methodName
|
string |
|
args
|
any[] |
Optional. Default is undefined .
|
Returns
void
|
|
abstract setText(renderNode: any, text: string): void
abstract setText(renderNode: any, text: string): void
Parameters
renderNode
|
any |
|
text
|
string |
|
Returns
void
|
|
abstract animate(element: any, startingStyles: any, keyframes: any[], duration: number, delay: number, easing: string, previousPlayers?: any[]): any
abstract animate(element: any, startingStyles: any, keyframes: any[], duration: number, delay: number, easing: string, previousPlayers?: any[]): any
Parameters
element
|
any |
|
startingStyles
|
any |
|
keyframes
|
any[] |
|
duration
|
number |
|
delay
|
number |
|
easing
|
string |
|
previousPlayers
|
any[] |
Optional. Default is undefined .
|
Returns
any
|