Skip to content
kerrishotts edited this page Apr 1, 2013 · 1 revision

(part of UI.View)

Type: array of objects

Default: empty

Read-Only; to modify use add / removeSubView.

Contains a list of all views that have been added to the view via addSubView. These views are considered "children" of the view, and they are treated as such in the DOM.

Usage

var aView = new UI.View();
aView.init();
console.log (aView.subViews.length());
// should be 0, after initialization

Version

0.3 Introduced; Docs Valid.

Clone this wiki locally