Added WebView Navigation Type Support

This commit is contained in:
vB Results, LLC
2016-03-10 07:42:59 +00:00
committed by Vladimir Enchev
parent dc203934cc
commit 665fe45489
6 changed files with 73 additions and 14 deletions

View File

@@ -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).
*/