[InAppBrowserEvents] Adding an on Click Event

[InAppBrowserEvents] Adding an on Click Event

  
Forge Component
(0)
Published on 10 Mar by Rui Barbosa
0 votes
Published on 10 Mar by Rui Barbosa

Good Day,

I am trying to add an "Onclick" event and it is not functioning. 


inAppBrowserRef.addEventListener('click', loadClickCallBack);

function loadClickCallBack(event){
     if($parameters.DoConsoleLog)
        logEvent(event);
   
    $actions.TriggerOnClick(event.type,event.url,event.code || "! Inside Click Event !" || "");
}

Hi Steve

The InAppBrowser does not support an OnClick Event.

See documentation here.

You have very little control over what the user is doing inside the InAppBrowser.

What are you trying to accomplish?

Cheers