mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Added WebView Navigation Type Support
This commit is contained in:
committed by
Vladimir Enchev
parent
dc203934cc
commit
665fe45489
@@ -1,4 +1,4 @@
|
||||
import common = require("./web-view-common");
|
||||
import common = require("./web-view-common");
|
||||
import trace = require("trace");
|
||||
import * as fileSystemModule from "file-system";
|
||||
|
||||
@@ -37,7 +37,7 @@ function ensureWebViewClientClass() {
|
||||
|
||||
if (this._view) {
|
||||
trace.write("WebViewClientClass.onPageStarted(" + url + ", " + favicon + ")", trace.categories.Debug);
|
||||
this._view._onLoadStarted(url);
|
||||
this._view._onLoadStarted(url, common.WebView.navigationTypes[common.WebView.navigationTypes.indexOf("linkClicked")]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user