Sys.UI.Template Class

Represents HTML markup that specifies the UI for data controls.

Namespace: Sys.UI

Inherits: None

Implements: Sys.IDisposable

var MyTemplate = new Sys.UI.Template(element);

Constructors

Name

Description

Sys.UI.Template Constructor

Initializes a new instance of the Template class.

Members

Name

Description

Sys.UI.Template.recompile Method

Compiles the template.

Sys.UI.Template.dispose Method

Detaches the template instance from the element that it was attached to.

Sys.UI.Template.instantiateIn Method

Instantiates the template within a given DOM element.

Sys.UI.Template.element Property

Gets the root element of the template.

Remarks

Templates can be instantiated multiple times.

See Also

Other Resources

Language Reference