How to hide URL Bar by using sencha touch

November 11, 2012

Reading time ~1 minute

Outline

I wonder if you want to hide urlbar in smartphone web site, you will write following script( using jquery)

$(function(){
    window.scrollTo(0,1);
});

How to…

If you want to hide URLbar by using sencha touch, you can write following code in ** app.js **.

viewport: {
    autoMaximize: !Ext.browser.is.Standalone && Ext.os.is.iOS
},
  • Orientation change performance is drastically reduced when this is enabled, on all devices.
  • On some devices (mostly Android) this can sometimes cause issues when the default browser zoom setting is changed.
  • When wrapping your phone in a native shell, you may get a blank screen.

reference

add ticket number to git commit automatically

Most of ticket tracker like Github, pivotal tracker have function to connect your commit to ticket(story).But every time when you commit ...… Continue reading

I will build frontend and backend separately

Published on September 28, 2016

order of angular controller's initialisation

Published on October 05, 2015