+1
-1
@@ -92,3 +92,3 @@ declare class Bridge { | ||
| */ | ||
| openURL(URL: string, title?: string): void; | ||
| openURL(URL: string, title?: string, isShowModal?: boolean): void; | ||
| /** | ||
@@ -95,0 +95,0 @@ * 设置 Webview 标题 |
+2
-2
@@ -171,6 +171,6 @@ import core from './core'; | ||
| */ | ||
| Bridge.prototype.openURL = function (URL, title) { | ||
| Bridge.prototype.openURL = function (URL, title, isShowModal) { | ||
| return this.call({ | ||
| actionType: ActionType.OPEN_URL, | ||
| options: { URL: URL, title: title } | ||
| options: { URL: URL, title: title, isShowModal: isShowModal } | ||
| }); | ||
@@ -177,0 +177,0 @@ }; |
+1
-0
@@ -41,2 +41,3 @@ export declare enum PageType { | ||
| title?: string; | ||
| isShowModal?: boolean; | ||
| }; | ||
@@ -43,0 +44,0 @@ } |
+1
-1
| { | ||
| "name": "zybridge", | ||
| "version": "1.1.8", | ||
| "version": "1.1.9", | ||
| "main": "lib/main.js", | ||
@@ -5,0 +5,0 @@ "typings": "lib/main.d.ts", |
20366
0.46%658
0.15%