render
renders the specified item or the whole component
void render( [id id,object data,string type] );
| id | id | the item id |
| data | object | the object with data for the rendered item |
| type | string | the type of the operation: 'update', 'add', 'delete', 'move' |
Example
$$('view').render();
Related samples
Details
When no parameters are specified, the method renders the whole view.
Types of the operation:
- update - replaces the existing HTML with the new one
- add - place a new HTML at the required position
- delete - removes the related HTML
- move - simulates add-delete sequence
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.