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

Shazron Abdullah updated CB-1948:
---------------------------------

    Description: 
ML thread: http://markmail.org/thread/zyux3r6rqfhv4bti

Reference: 
https://github.com/GoogleChrome/chrome-app-samples/blob/master/browser/browser.js

These are the events to be supported:
1. loadstart
2. loadstop
3. exit

Example:

{code}
var webviewRef = window.open('http://google.com', '_blank');
webviewRef.addEventListener('loadstart', function(event) { alert(event.url); } 
);
{code}

  was:
ML thread: http://markmail.org/thread/zyux3r6rqfhv4bti

Reference: 
https://github.com/GoogleChrome/chrome-app-samples/blob/master/browser/browser.js

These are the events to be supported:
1. loadstart
2. loadstop
3. exit

Example:

{code}
var webviewRef = window.open('http://google.com', '_blank');
webviewRef.addEventListener('loadstart', function(event) {} );
{code}

    
> InAppBrowser - support events
> -----------------------------
>
>                 Key: CB-1948
>                 URL: https://issues.apache.org/jira/browse/CB-1948
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Shazron Abdullah
>             Fix For: 2.3.0
>
>
> ML thread: http://markmail.org/thread/zyux3r6rqfhv4bti
> Reference: 
> https://github.com/GoogleChrome/chrome-app-samples/blob/master/browser/browser.js
> These are the events to be supported:
> 1. loadstart
> 2. loadstop
> 3. exit
> Example:
> {code}
> var webviewRef = window.open('http://google.com', '_blank');
> webviewRef.addEventListener('loadstart', function(event) { alert(event.url); 
> } );
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to