LoginSignup
0
0

More than 5 years have passed since last update.

Titanium で pointer-events: none 的なものを実装する。

Last updated at Posted at 2013-01-22

JavaScriptをつかったスマフォ用Webアプリではイベントを受けとってほしくないDOMに対して、

#hoge {
    pointer-events: none;
}

と記載することが多かったのですが、
TitaniumではUIパーツに対して、

var label  = Ti.UI.createLabel({
    touchEnabled: false
});

とするとほぼほぼ同じような効果が得られるようです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0