Previous Next

Once the HTML for a control has been created it is time to do some additional magic like adding events, instantiating child controls, etc. This can be done in the render function.

The render function has three parameters:

1.$target, refers to a jQuery container that contains the element that is the parent for the control to create
2.propsChild, contains additional property settings that are adduced by the parent control
3.master, refers to the control definition of the master

The function must return a jQuery object containing the newly created control.