Class StylusTemplate
- Extends:
- Template
- Defined in:
- StylusTemplate.js
StylusTemplate Stylus engine implementation. Do not use it !!!
Constructor
Fields
Field | |
---|---|
![]() |
Indicates if template is a child of parent.
|
![]() |
Indicates if template was rendered.
|
Methods
Method | |
---|---|
![]() |
addChild(child)
Adding child template
|
![]() |
addEventListener(type, callbackFunction, context)
Adding listener
|
![]() |
Dispatches event
|
![]() |
dispatchRender(data)
Dispatchig render action and handles its errors and exceptions.
|
![]() |
Returns content generated by specific render engine
|
![]() |
Returns error handler
|
![]() |
getName()
Returns template name
|
![]() |
getPath()
Returns template location path
|
![]() |
Returns template manager who holds every template in the subtree
|
![]() |
hasEventListener(type)
Checks if given event type listener is registered
|
![]() |
onData(e)
Handling model load.
|
![]() |
onDataError(e)
Handling model error.
|
![]() |
removeAllEventListeners(type)
Remove group of listeners or all listeners
|
![]() |
removeEventListener(type, callbackFunction)
Remove listener
|
render()
Executing stylus template rendering
|
|
![]() |
setRenderedData(data)
Setting rendering result
|
![]() |
setTemplateManager(templateManager)
Sets template manager object which holds every template in the subtree
|
Class Detail
StylusTemplate()
- Deprecated:
- This is only proof of concept Class. Currently unstable not for production use
Method Details
render()
Executing stylus template rendering
Parameters (optional) | ||
---|---|---|
{Object} |
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Aug 17 2011 15:33:34 GMT+0200 (CEST)