@quicktvui/quicktvui3 1.2.0-beta.45 → 1.2.0-beta.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,11 +2,14 @@ import { QTIView } from '../view/QTIView';
|
|
|
2
2
|
export interface QTIWebView extends QTIView {
|
|
3
3
|
loadUrl(url: string): void;
|
|
4
4
|
reload(): void;
|
|
5
|
+
clearCache(value: boolean): void;
|
|
6
|
+
getUrl(): Promise<string | undefined | null>;
|
|
7
|
+
getOriginalUrl(): Promise<string | undefined | null>;
|
|
5
8
|
evaluateJavascript(value: string): Promise<string | undefined | null>;
|
|
6
9
|
setUserAgent(value: string): void;
|
|
7
|
-
canGoBack():
|
|
10
|
+
canGoBack(): Promise<boolean>;
|
|
8
11
|
goBack(): void;
|
|
9
|
-
canGoForward():
|
|
12
|
+
canGoForward(): Promise<boolean>;
|
|
10
13
|
goForward(): void;
|
|
11
14
|
canGoBackOrForward(steps: number): void;
|
|
12
15
|
goBackOrForward(steps: number): void;
|
|
@@ -2,13 +2,16 @@ import { Ref } from '@vue/reactivity';
|
|
|
2
2
|
import { QTIWebView } from './QTIWebView';
|
|
3
3
|
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
4
4
|
export interface QtWebViewAPI extends QtBaseViewAPI {
|
|
5
|
-
loadUrl(instance: string | Ref<QTIWebView | undefined>, url: string): void;
|
|
6
5
|
reload(instance: string | Ref<QTIWebView | undefined>): void;
|
|
6
|
+
clearCache(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
|
|
7
|
+
getUrl(instance: string | Ref<QTIWebView | undefined>): Promise<string | undefined | null>;
|
|
8
|
+
getOriginalUrl(instance: string | Ref<QTIWebView | undefined>): Promise<string | undefined | null>;
|
|
9
|
+
loadUrl(instance: string | Ref<QTIWebView | undefined>, url: string): void;
|
|
7
10
|
evaluateJavascript(instance: string | Ref<QTIWebView | undefined>, value: string): Promise<string | undefined | null>;
|
|
8
11
|
setUserAgent(instance: string | Ref<QTIWebView | undefined>, value: string): void;
|
|
9
|
-
canGoBack(instance: string | Ref<QTIWebView | undefined>):
|
|
12
|
+
canGoBack(instance: string | Ref<QTIWebView | undefined>): Promise<boolean>;
|
|
10
13
|
goBack(instance: string | Ref<QTIWebView | undefined>): void;
|
|
11
|
-
canGoForward(instance: string | Ref<QTIWebView | undefined>):
|
|
14
|
+
canGoForward(instance: string | Ref<QTIWebView | undefined>): Promise<boolean>;
|
|
12
15
|
goForward(instance: string | Ref<QTIWebView | undefined>): void;
|
|
13
16
|
canGoBackOrForward(instance: string | Ref<QTIWebView | undefined>, steps: number): void;
|
|
14
17
|
goBackOrForward(instance: string | Ref<QTIWebView | undefined>, steps: number): void;
|
|
@@ -6,10 +6,13 @@ export interface QTIX5WebView extends QTIView {
|
|
|
6
6
|
initWebView(params?: QTX5WebViewParams): void;
|
|
7
7
|
loadUrl(url: string): void;
|
|
8
8
|
reload(): void;
|
|
9
|
+
clearCache(value: boolean): void;
|
|
10
|
+
getUrl(): Promise<string | undefined | null>;
|
|
11
|
+
getOriginalUrl(): Promise<string | undefined | null>;
|
|
9
12
|
evaluateJavascript(value: string): Promise<string | undefined | null>;
|
|
10
|
-
canGoBack():
|
|
13
|
+
canGoBack(): Promise<boolean>;
|
|
11
14
|
goBack(): void;
|
|
12
|
-
canGoForward():
|
|
15
|
+
canGoForward(): Promise<boolean>;
|
|
13
16
|
goForward(): void;
|
|
14
17
|
canGoBackOrForward(steps: number): void;
|
|
15
18
|
goBackOrForward(steps: number): void;
|
|
@@ -2,13 +2,16 @@ import { Ref } from '@vue/reactivity';
|
|
|
2
2
|
import { QTIX5WebView, QTX5WebViewParams } from './QTIX5WebView';
|
|
3
3
|
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
4
4
|
export interface QtX5WebViewAPI extends QtBaseViewAPI {
|
|
5
|
+
reload(instance: string | Ref<QTIX5WebView | undefined>): void;
|
|
6
|
+
clearCache(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
|
|
7
|
+
getUrl(instance: string | Ref<QTIX5WebView | undefined>): Promise<string | undefined | null>;
|
|
8
|
+
getOriginalUrl(instance: string | Ref<QTIX5WebView | undefined>): Promise<string | undefined | null>;
|
|
5
9
|
initWebView(instance: string | Ref<QTIX5WebView | undefined>, params?: QTX5WebViewParams): void;
|
|
6
10
|
loadUrl(instance: string | Ref<QTIX5WebView | undefined>, url: string): void;
|
|
7
|
-
reload(instance: string | Ref<QTIX5WebView | undefined>): void;
|
|
8
11
|
evaluateJavascript(instance: string | Ref<QTIX5WebView | undefined>, value: string): Promise<string | undefined | null>;
|
|
9
|
-
canGoBack(instance: string | Ref<QTIX5WebView | undefined>):
|
|
12
|
+
canGoBack(instance: string | Ref<QTIX5WebView | undefined>): Promise<boolean>;
|
|
10
13
|
goBack(instance: string | Ref<QTIX5WebView | undefined>): void;
|
|
11
|
-
canGoForward(instance: string | Ref<QTIX5WebView | undefined>):
|
|
14
|
+
canGoForward(instance: string | Ref<QTIX5WebView | undefined>): Promise<boolean>;
|
|
12
15
|
goForward(instance: string | Ref<QTIX5WebView | undefined>): void;
|
|
13
16
|
canGoBackOrForward(instance: string | Ref<QTIX5WebView | undefined>, steps: number): void;
|
|
14
17
|
goBackOrForward(instance: string | Ref<QTIX5WebView | undefined>, steps: number): void;
|