mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-18 17:02:49 +08:00
parent
2c036c9c91
commit
086234b881
21
README.md
21
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
|
||||
|
Loading…
Reference in New Issue
Block a user