Hi Ionicers,
is it possible to add to the list of template
$ ionic start MyModelApp blank
$ ionic start MyModelApp complex-list
$ ionic start MyModelApp maps
$ ionic start MyModelApp salesforce
$ ionic start MyModelApp sidemenu
$ ionic start MyModelApp tabs
my request
$ ionic start MyModelApp fullscreen
the reason for this is i been finding and i don’t think anyone has actually done this where on a click of a button on the header there is a button where is allow that page to be viewed in full-screen.
i read about the load full screen and image in full screen but it is not exactly what i need.
chance of help?
thanks!
the effect is similar to what i have written in JavaScript as a function.
//https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Using_full_screen_mode
// does not work for iOS
/*jslint browser:true */
function toggleFullScreen() {
if (!document.fullscreenElement && // alternative standard method
!document.mozFullScreenElement && !document.webkitFullscreenElement && !document.msFullscreenElement ) { // current working methods
if (document.documentElement.requestFullscreen) {
document.documentElement.requestFullscreen();
} else if (document.documentElement.msRequestFullscreen) {
document.documentElement.msRequestFullscreen();
} else if (document.documentElement.mozRequestFullScreen) {
document.documentElement.mozRequestFullScreen();
} else if (document.documentElement.webkitRequestFullscreen) {
document.documentElement.webkitRequestFullscreen();
}
} else {
if (document.exitFullscreen) {
document.exitFullscreen();
} else if (document.msExitFullscreen) {
document.msExitFullscreen();
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
} else if (document.webkitExitFullscreen) {
document.webkitExitFullscreen();
}
}
}
or the exact link
http://iwant2study.org/lookangejss/04waves_13light/ejss_model_ThinLenModel05/ThinLenModel05_Simulation.xhtml
click on the full screen button next to the reset button, available when view on Android devices only.