cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CB-10805) menubutton event is not correctly documented
Date Tue, 27 Dec 2016 23:26:58 GMT

     [ https://issues.apache.org/jira/browse/CB-10805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

jcesarmobile reassigned CB-10805:
---------------------------------

    Assignee: jcesarmobile

> menubutton event is not correctly documented
> --------------------------------------------
>
>                 Key: CB-10805
>                 URL: https://issues.apache.org/jira/browse/CB-10805
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Docs
>            Reporter: jcesarmobile
>            Assignee: jcesarmobile
>            Priority: Minor
>
> This is the doc for menubutton
> {quote}
> menubutton
> The event fires when the user presses the menu button. Applying an event handler overrides
the default menu button behavior.
> Quick Example
> document.addEventListener("menubutton", onMenuKeyDown, false);
> function onMenuKeyDown() {
>     // Handle the back button
> }
> {quote}
> But menubutton event was broken on android. (See CB-9949)
> When fixed, a change was introduced, to make the menubutton work, now it's required to
add this line:
> {code}
> navigator.app.overrideButton("menubutton", true);  
> {code}
> But that is not documented anywhere.
> I think it should be added as an android quirk as it is supported by blackberry too and
I don't think this is needed on blackberry devices.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message