This commit is contained in:
2017-06-23 16:00:01 +02:00
parent 62471975bd
commit 57afebfa4e
8 changed files with 386 additions and 1 deletions

15
example/advanced/index.html Executable file
View File

@@ -0,0 +1,15 @@
<html>
<head>
<script type="text/javascript" src="cordova.js"></script>
</head>
<body>
<script>
document.addEventListener("deviceready", function(){
var autoHideNavigationBar = true;
window.navigationbar.setUp(autoHideNavigationBar);
}, false);
</script>
</body>
</html>

17
example/basic/index.html Executable file
View File

@@ -0,0 +1,17 @@
<html>
<head>
<script type="text/javascript" src="cordova.js"></script>
</head>
<body>
<script>
document.addEventListener("deviceready", function(){
var autoHideNavigationBar = false;
window.navigationbar.setUp(autoHideNavigationBar);
}, false);
</script>
<p><button onclick="window.navigationbar.hide();">hide</button></p>
</body>
</html>