Skip to content

hessius/cordova-statusTap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-statusTap

Capture tap events on the status bar.

This plugin is aimed at libraries like Sencha for users who want to execute custom code like scrolling their list views on status tap.

Installation

Add

<script type="text/javascript" src="js/taptoscroll.js"></script>

to index.html

Add taptoscroll.js to your www folder

Add

window.plugins.tapToScroll.initListener();

to onDeviceReady.

Then to add a listener for the tap implement

        window.addEventListener("statusTap", function() {
          alert("status tap");
        });

Also make sure to add the .h and .m files to your main project.

And add the following to your config.xml <plugin name="TapToScroll" value="TapToScroll" />

About

Capture tap events on the status bar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 93.7%
  • JavaScript 6.3%