abstract class
Renderer {
abstract selectRootElement(selectorOrNode: string | 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: string | 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: string | any, debugInfo?: RenderDebugInfo): any
abstract selectRootElement(selectorOrNode: string | any, debugInfo?: RenderDebugInfo): any
Parameters
selectorOrNode |
Type: string | any .
|
debugInfo |
Type: 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 |
Type: any .
|
name |
Type: string .
|
debugInfo |
Type: 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 |
Type: any .
|
debugInfo |
Type: 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 |
Type: any .
|
value |
Type: string .
|
debugInfo |
Type: RenderDebugInfo .
Optional. Default is undefined .
|
Returns
any
|
|
abstract projectNodes(parentElement: any, nodes: any[]): void
abstract projectNodes(parentElement: any, nodes: any[]): void
Parameters
parentElement |
Type: any .
|
nodes |
Type: any[] .
|
Returns
void
|
|
abstract attachViewAfter(node: any, viewRootNodes: any[]): void
abstract attachViewAfter(node: any, viewRootNodes: any[]): void
Parameters
node |
Type: any .
|
viewRootNodes |
Type: any[] .
|
Returns
void
|
|
abstract detachView(viewRootNodes: any[]): void
abstract detachView(viewRootNodes: any[]): void
Parameters
viewRootNodes |
Type: any[] .
|
Returns
void
|
|
abstract destroyView(hostElement: any, viewAllNodes: any[]): void
abstract destroyView(hostElement: any, viewAllNodes: any[]): void
Parameters
hostElement |
Type: any .
|
viewAllNodes |
Type: any[] .
|
Returns
void
|
|
abstract listen(renderElement: any, name: string, callback: Function): Function
abstract listen(renderElement: any, name: string, callback: Function): Function
Parameters
renderElement |
Type: any .
|
name |
Type: string .
|
callback |
Type: Function .
|
Returns
Function
|
|
abstract listenGlobal(target: string, name: string, callback: Function): Function
abstract listenGlobal(target: string, name: string, callback: Function): Function
Parameters
target |
Type: string .
|
name |
Type: string .
|
callback |
Type: Function .
|
Returns
Function
|
|
abstract setElementProperty(renderElement: any, propertyName: string, propertyValue: any): void
abstract setElementProperty(renderElement: any, propertyName: string, propertyValue: any): void
Parameters
renderElement |
Type: any .
|
propertyName |
Type: string .
|
propertyValue |
Type: any .
|
Returns
void
|
|
abstract setElementAttribute(renderElement: any, attributeName: string, attributeValue: string): void
abstract setElementAttribute(renderElement: any, attributeName: string, attributeValue: string): void
Parameters
renderElement |
Type: any .
|
attributeName |
Type: string .
|
attributeValue |
Type: string .
|
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 |
Type: any .
|
propertyName |
Type: string .
|
propertyValue |
Type: string .
|
Returns
void
|
|
abstract setElementClass(renderElement: any, className: string, isAdd: boolean): void
abstract setElementClass(renderElement: any, className: string, isAdd: boolean): void
Parameters
renderElement |
Type: any .
|
className |
Type: string .
|
isAdd |
Type: boolean .
|
Returns
void
|
|
abstract setElementStyle(renderElement: any, styleName: string, styleValue: string): void
abstract setElementStyle(renderElement: any, styleName: string, styleValue: string): void
Parameters
renderElement |
Type: any .
|
styleName |
Type: string .
|
styleValue |
Type: string .
|
Returns
void
|
|
abstract invokeElementMethod(renderElement: any, methodName: string, args?: any[]): void
abstract invokeElementMethod(renderElement: any, methodName: string, args?: any[]): void
Parameters
renderElement |
Type: any .
|
methodName |
Type: string .
|
args |
Type: any[] .
Optional. Default is undefined .
|
Returns
void
|
|
abstract setText(renderNode: any, text: string): void
abstract setText(renderNode: any, text: string): void
Parameters
renderNode |
Type: any .
|
text |
Type: 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 |
Type: any .
|
startingStyles |
Type: any .
|
keyframes |
Type: any[] .
|
duration |
Type: number .
|
delay |
Type: number .
|
easing |
Type: string .
|
previousPlayers |
Type: any[] .
Optional. Default is undefined .
|
Returns
any
|