Skip to content

UI.View.interactive

kerrishotts edited this page Apr 2, 2013 · 1 revision

(part of UI.View)

Type: boolean

Default: false

Determines if the view supports touch events or not. By default, views aren't interactive, but setting this property to true will add the appropriate touch handlers to the DOM element. Setting the value to false will remove any touch handlers previously added.

Usage

var aView = new UI.View();
aView.interactive = true;

Version

0.3 Introduced; Docs Valid.

Clone this wiki locally