Skip to content

UI.View.removeSubView

kerrishotts edited this page Apr 1, 2013 · 1 revision

(part of UI.View)

Returns: void

Parameters: aView (member of UI.View)

Removes aView from the view's list of subViews. Once done, aView is no longer a child of the current view, and this is represented in the DOM as well. aView's superView will be null.

Usage

var aView = new UI.View();
aView.init();
var bView = new UI.Label();
bView.init();
aView.addSubView (bView);
aView.removeSubView (bView); 

Version

0.3 Introduced; Docs Valid.

Clone this wiki locally