2012年2月20日 星期一

Sencha Touch Orientation

Panel.monitorOrientation=true, by default
so can listen to the following event:
  - beforeorientationchange
  - orientationchange

if Panel.fullscreen=true, Panel.monitorOrientation will set to true automatically even it is declare to be false.

Panel.layoutOnOrientationChange=true will redo layout if orientation change.

沒有留言:

張貼留言