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
9
ui/web-view/web-view.d.ts
vendored
9
ui/web-view/web-view.d.ts
vendored
@@ -20,6 +20,11 @@ declare module "ui/web-view" {
|
||||
*/
|
||||
public static loadFinishedEvent: string;
|
||||
|
||||
/**
|
||||
* Array of string values used when passing navigation types.
|
||||
*/
|
||||
public static navigationTypes: string[];
|
||||
|
||||
/**
|
||||
* Represents the observable property backing the Url property of each WebView instance.
|
||||
*/
|
||||
@@ -102,6 +107,10 @@ declare module "ui/web-view" {
|
||||
* Gets the url of the web-view.
|
||||
*/
|
||||
url: string;
|
||||
/**
|
||||
* Gets the navigation type of the web-view.
|
||||
*/
|
||||
navigationType: string;
|
||||
/**
|
||||
* Gets the error (if any).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user