Skip to content

taroquu/CordovaNavbarPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Windows Phone Nabbar Plugin

Since Windows Phone 8.1, some devices will have show the windows key, back and search keys on screen as soft keys instead of physical buttons. You can read more here. This causes a problem in Cordova/Phone Gap applications and the soft keys will overlap with the web view.

This plugin aims to sort that by automatically resizing the web view as the softkeys are shown/hidden by user action. If you need to, you can also capture the height of the soft key/navbar with the following:


	window.addEventListener("navbarchange", function(info)
	{
		alert("the nav bar is " + info.height + " high!");
	}, false);
    

Whilst this plugin uses properties that are only available on Windows Phone 8.1, it is backwards compatible and will run on earlier version but will do nothing.

About

A Cordova plugin for windows phone which will adjust the web view when the soft keys/navbar is toggled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published