onLoadResource method

void onLoadResource(
  1. LoadedResource resource
)
inherited

Event fired when the InAppBrowser webview loads a resource.

NOTE: In order to be able to listen this event, you need to set InAppWebViewOptions.useOnLoadResource and InAppWebViewOptions.javaScriptEnabled options to true.

Implementation

void onLoadResource(LoadedResource resource) {}