You've already forked cordova-plugin-navigationbar
test
This commit is contained in:
15
example/advanced/index.html
Executable file
15
example/advanced/index.html
Executable 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
17
example/basic/index.html
Executable 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>
|
||||
Reference in New Issue
Block a user