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

(part of UI.View)

Type: boolean

Default: true

Determines whether or not the view is visible in the DOM. (This does not necessarily mean that is visible to the user.) Changing the visibility sends a visibilityDidChange notification, as well as viewWillAppear/ViewDidAppear or viewWillDisappear/ViewDidDisappear notifications as appropriate.

An invisible view's element has display: none, while a visible view's element has display: inherit.

Usage

var aView = new UI.View();
aView.visible = false;

Version

0.3 Introduced; Docs Valid.

Clone this wiki locally