CB-10341 ios, document statusTap event This closes #69
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/commit/086234b8 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/tree/086234b8 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/diff/086234b8 Branch: refs/heads/2.2.x Commit: 086234b881f3b8d75b3609d4ceb70497539938f8 Parents: 2c036c9 Author: Julio Cesar Sanchez Hernandez <jcesarmob...@gmail.com> Authored: Sun Oct 30 11:32:50 2016 +0100 Committer: Julio César <jcesarmob...@gmail.com> Committed: Sun Oct 30 17:46:36 2016 +0100 ---------------------------------------------------------------------- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/086234b8/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 8196a86..22c84d2 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,11 @@ Properties - StatusBar.isVisible +Events +------ + +- statusTap + Permissions ----------- @@ -310,3 +315,19 @@ Supported Platforms - Windows Phone 7 - Windows Phone 8 - Windows Phone 8.1 + + +statusTap +========= + +Listen for this event to know if the statusbar was tapped. + + window.addEventListener('statusTap', function() { + // scroll-up with document.body.scrollTop = 0; or do whatever you want + }); + + +Supported Platforms +------------------- + +- iOS --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org