@wailsio/runtime 3.0.0-alpha.14 → 3.0.0-alpha.16
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.
- package/package.json +1 -1
- package/src/event_types.js +0 -2
- package/src/events.js +15 -4
- package/src/index.js +1 -0
- package/src/screens.js +27 -0
- package/src/window.js +0 -27
- package/tsconfig.json +19 -19
- package/types/event_types.d.ts +0 -2
- package/types/events.d.ts +26 -13
- package/types/screens.d.ts +42 -0
- package/types/window.d.ts +132 -44
package/package.json
CHANGED
package/src/event_types.js
CHANGED
|
@@ -48,7 +48,6 @@ export const EventTypes = {
|
|
|
48
48
|
ApplicationWillTerminate: "mac:ApplicationWillTerminate",
|
|
49
49
|
ApplicationWillUnhide: "mac:ApplicationWillUnhide",
|
|
50
50
|
ApplicationWillUpdate: "mac:ApplicationWillUpdate",
|
|
51
|
-
ApplicationTerminate: "mac:ApplicationTerminate",
|
|
52
51
|
ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme!",
|
|
53
52
|
ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen!",
|
|
54
53
|
WindowDidBecomeKey: "mac:WindowDidBecomeKey",
|
|
@@ -178,6 +177,5 @@ export const EventTypes = {
|
|
|
178
177
|
WindowDPIChanged: "common:WindowDPIChanged",
|
|
179
178
|
WindowFilesDropped: "common:WindowFilesDropped",
|
|
180
179
|
ThemeChanged: "common:ThemeChanged",
|
|
181
|
-
ApplicationTerminate: "common:ApplicationTerminate",
|
|
182
180
|
},
|
|
183
181
|
};
|
package/src/events.js
CHANGED
|
@@ -42,9 +42,20 @@ export class WailsEvent {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Sets up event callbacks for Wails.
|
|
47
|
+
*
|
|
48
|
+
* @function setupEventCallbacks
|
|
49
|
+
*
|
|
50
|
+
* @description This method is responsible for setting up event callbacks for Wails. It checks if the global object `_wails` exists on the `window` object, and if not, initializes it
|
|
51
|
+
*. It then assigns the `dispatchWailsEvent` function as a property on the `_wails` object.
|
|
52
|
+
*
|
|
53
|
+
* @returns {undefined} Returns nothing.
|
|
54
|
+
*/
|
|
55
|
+
export function setupEventCallbacks() {
|
|
56
|
+
window._wails = window._wails || {};
|
|
57
|
+
window._wails.dispatchWailsEvent = dispatchWailsEvent;
|
|
58
|
+
}
|
|
48
59
|
|
|
49
60
|
function dispatchWailsEvent(event) {
|
|
50
61
|
let listeners = eventListeners.get(event.name);
|
|
@@ -91,7 +102,7 @@ export function On(eventName, callback) { return OnMultiple(eventName, callback,
|
|
|
91
102
|
*
|
|
92
103
|
* @param {string} eventName - The name of the event.
|
|
93
104
|
* @param {function} callback - The function to be executed when the event occurs.
|
|
94
|
-
* @return {
|
|
105
|
+
* @return {function} - A function that, when called, will unregister the callback from the event.
|
|
95
106
|
*/
|
|
96
107
|
export function Once(eventName, callback) { return OnMultiple(eventName, callback, 1); }
|
|
97
108
|
|
package/src/index.js
CHANGED
package/src/screens.js
CHANGED
|
@@ -10,6 +10,33 @@ The electron alternative for Go
|
|
|
10
10
|
|
|
11
11
|
/* jshint esversion: 9 */
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* @typedef {Object} Position
|
|
15
|
+
* @property {number} X - The X coordinate.
|
|
16
|
+
* @property {number} Y - The Y coordinate.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @typedef {Object} Size
|
|
21
|
+
* @property {number} X - The width.
|
|
22
|
+
* @property {number} Y - The height.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @typedef {Object} Rect
|
|
28
|
+
* @property {number} X - The X coordinate of the top-left corner.
|
|
29
|
+
* @property {number} Y - The Y coordinate of the top-left corner.
|
|
30
|
+
* @property {number} Width - The width of the rectangle.
|
|
31
|
+
* @property {number} Height - The height of the rectangle.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @typedef {('Zero'|'Ninety'|'OneEighty'|'TwoSeventy')} Rotation
|
|
37
|
+
* The rotation of the screen. Can be one of 'Zero', 'Ninety', 'OneEighty', 'TwoSeventy'.
|
|
38
|
+
*/
|
|
39
|
+
|
|
13
40
|
|
|
14
41
|
/**
|
|
15
42
|
* @typedef {Object} Screen
|
package/src/window.js
CHANGED
|
@@ -15,33 +15,6 @@ The electron alternative for Go
|
|
|
15
15
|
* @typedef {import("./screens").Screen} Screen
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* @typedef {Object} Position
|
|
20
|
-
* @property {number} X - The X coordinate.
|
|
21
|
-
* @property {number} Y - The Y coordinate.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @typedef {Object} Size
|
|
26
|
-
* @property {number} X - The width.
|
|
27
|
-
* @property {number} Y - The height.
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* @typedef {Object} Rect
|
|
33
|
-
* @property {number} X - The X coordinate of the top-left corner.
|
|
34
|
-
* @property {number} Y - The Y coordinate of the top-left corner.
|
|
35
|
-
* @property {number} Width - The width of the rectangle.
|
|
36
|
-
* @property {number} Height - The height of the rectangle.
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @typedef {('Zero'|'Ninety'|'OneEighty'|'TwoSeventy')} Rotation
|
|
41
|
-
* The rotation of the screen. Can be one of 'Zero', 'Ninety', 'OneEighty', 'TwoSeventy'.
|
|
42
|
-
*/
|
|
43
|
-
|
|
44
|
-
|
|
45
18
|
import {newRuntimeCallerWithID, objectNames} from "./runtime";
|
|
46
19
|
|
|
47
20
|
const center = 0;
|
package/tsconfig.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
{
|
|
2
|
-
"include": ["./src/**/*"],
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"lib": [
|
|
5
|
-
"dom",
|
|
6
|
-
"dom.iterable",
|
|
7
|
-
"esnext"
|
|
8
|
-
],
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"declaration": true,
|
|
11
|
-
"declarationMap": true,
|
|
12
|
-
"emitDeclarationOnly": true,
|
|
13
|
-
"esModuleInterop": true,
|
|
14
|
-
"module": "esnext",
|
|
15
|
-
"moduleResolution": "node",
|
|
16
|
-
"outDir": "dist",
|
|
17
|
-
"strict": true,
|
|
18
|
-
"target": "es6"
|
|
19
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"include": ["./src/**/*"],
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"lib": [
|
|
5
|
+
"dom",
|
|
6
|
+
"dom.iterable",
|
|
7
|
+
"esnext"
|
|
8
|
+
],
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
"declaration": true,
|
|
11
|
+
"declarationMap": true,
|
|
12
|
+
"emitDeclarationOnly": true,
|
|
13
|
+
"esModuleInterop": true,
|
|
14
|
+
"module": "esnext",
|
|
15
|
+
"moduleResolution": "node",
|
|
16
|
+
"outDir": "dist",
|
|
17
|
+
"strict": true,
|
|
18
|
+
"target": "es6"
|
|
19
|
+
}
|
|
20
20
|
}
|
package/types/event_types.d.ts
CHANGED
|
@@ -48,7 +48,6 @@ export declare const EventTypes: {
|
|
|
48
48
|
ApplicationWillTerminate: string,
|
|
49
49
|
ApplicationWillUnhide: string,
|
|
50
50
|
ApplicationWillUpdate: string,
|
|
51
|
-
ApplicationTerminate: string,
|
|
52
51
|
ApplicationDidChangeTheme: string,
|
|
53
52
|
ApplicationShouldHandleReopen: string,
|
|
54
53
|
WindowDidBecomeKey: string,
|
|
@@ -178,6 +177,5 @@ export declare const EventTypes: {
|
|
|
178
177
|
WindowDPIChanged: string,
|
|
179
178
|
WindowFilesDropped: string,
|
|
180
179
|
ThemeChanged: string,
|
|
181
|
-
ApplicationTerminate: string,
|
|
182
180
|
},
|
|
183
181
|
};
|
package/types/events.d.ts
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sets up event callbacks for Wails.
|
|
3
|
+
*
|
|
4
|
+
* @function setupEventCallbacks
|
|
5
|
+
*
|
|
6
|
+
* @description This method is responsible for setting up event callbacks for Wails. It checks if the global object `_wails` exists on the `window` object, and if not, initializes it
|
|
7
|
+
*. It then assigns the `dispatchWailsEvent` function as a property on the `_wails` object.
|
|
8
|
+
*
|
|
9
|
+
* @returns {undefined} Returns nothing.
|
|
10
|
+
*/
|
|
11
|
+
export function setupEventCallbacks(): undefined;
|
|
1
12
|
/**
|
|
2
13
|
* Register a callback function to be called multiple times for a specific event.
|
|
3
14
|
*
|
|
@@ -20,9 +31,9 @@ export function On(eventName: string, callback: Function): Function;
|
|
|
20
31
|
*
|
|
21
32
|
* @param {string} eventName - The name of the event.
|
|
22
33
|
* @param {function} callback - The function to be executed when the event occurs.
|
|
23
|
-
* @return {
|
|
34
|
+
* @return {function} - A function that, when called, will unregister the callback from the event.
|
|
24
35
|
*/
|
|
25
|
-
export function Once(eventName: string, callback: Function):
|
|
36
|
+
export function Once(eventName: string, callback: Function): Function;
|
|
26
37
|
/**
|
|
27
38
|
* Removes event listeners for the specified event names.
|
|
28
39
|
*
|
|
@@ -80,15 +91,6 @@ export const Types: {
|
|
|
80
91
|
ApplicationDidChangeIcon: string;
|
|
81
92
|
ApplicationDidChangeOcclusionState: string;
|
|
82
93
|
ApplicationDidChangeScreenParameters: string;
|
|
83
|
-
/**
|
|
84
|
-
* Register a callback function to be called multiple times for a specific event.
|
|
85
|
-
*
|
|
86
|
-
* @param {string} eventName - The name of the event to register the callback for.
|
|
87
|
-
* @param {function} callback - The callback function to be called when the event is triggered.
|
|
88
|
-
* @param {number} maxCallbacks - The maximum number of times the callback can be called for the event. Once the maximum number is reached, the callback will no longer be called.
|
|
89
|
-
*
|
|
90
|
-
@return {function} - A function that, when called, will unregister the callback from the event.
|
|
91
|
-
*/
|
|
92
94
|
ApplicationDidChangeStatusBarFrame: string;
|
|
93
95
|
ApplicationDidChangeStatusBarOrientation: string;
|
|
94
96
|
ApplicationDidFinishLaunching: string;
|
|
@@ -103,7 +105,6 @@ export const Types: {
|
|
|
103
105
|
ApplicationWillTerminate: string;
|
|
104
106
|
ApplicationWillUnhide: string;
|
|
105
107
|
ApplicationWillUpdate: string;
|
|
106
|
-
ApplicationTerminate: string;
|
|
107
108
|
ApplicationDidChangeTheme: string;
|
|
108
109
|
ApplicationShouldHandleReopen: string;
|
|
109
110
|
WindowDidBecomeKey: string;
|
|
@@ -124,6 +125,12 @@ export const Types: {
|
|
|
124
125
|
WindowDidChangeSharingType: string;
|
|
125
126
|
WindowDidChangeSpace: string;
|
|
126
127
|
WindowDidChangeSpaceOrderingMode: string;
|
|
128
|
+
/**
|
|
129
|
+
* Removes the specified listener from the event listeners collection.
|
|
130
|
+
* If all listeners for the event are removed, the event key is deleted from the collection.
|
|
131
|
+
*
|
|
132
|
+
* @param {Object} listener - The listener to be removed.
|
|
133
|
+
*/
|
|
127
134
|
WindowDidChangeTitle: string;
|
|
128
135
|
WindowDidChangeToolbar: string;
|
|
129
136
|
WindowDidChangeVisibility: string;
|
|
@@ -133,6 +140,13 @@ export const Types: {
|
|
|
133
140
|
WindowDidEnterVersionBrowser: string;
|
|
134
141
|
WindowDidExitFullScreen: string;
|
|
135
142
|
WindowDidExitVersionBrowser: string;
|
|
143
|
+
/**
|
|
144
|
+
* Removes event listeners for the specified event names.
|
|
145
|
+
*
|
|
146
|
+
* @param {string} eventName - The name of the event to remove listeners for.
|
|
147
|
+
* @param {...string} additionalEventNames - Additional event names to remove listeners for.
|
|
148
|
+
* @return {undefined}
|
|
149
|
+
*/
|
|
136
150
|
WindowDidExpose: string;
|
|
137
151
|
WindowDidFocus: string;
|
|
138
152
|
WindowDidMiniaturize: string;
|
|
@@ -233,7 +247,6 @@ export const Types: {
|
|
|
233
247
|
WindowDPIChanged: string;
|
|
234
248
|
WindowFilesDropped: string;
|
|
235
249
|
ThemeChanged: string;
|
|
236
|
-
ApplicationTerminate: string;
|
|
237
250
|
};
|
|
238
251
|
};
|
|
239
252
|
export class WailsEvent {
|
package/types/screens.d.ts
CHANGED
|
@@ -14,6 +14,48 @@ export function GetPrimary(): Promise<Screen>;
|
|
|
14
14
|
* @returns {Promise<Screen>} A promise that resolves with the current active screen.
|
|
15
15
|
*/
|
|
16
16
|
export function GetCurrent(): Promise<Screen>;
|
|
17
|
+
export type Position = {
|
|
18
|
+
/**
|
|
19
|
+
* - The X coordinate.
|
|
20
|
+
*/
|
|
21
|
+
X: number;
|
|
22
|
+
/**
|
|
23
|
+
* - The Y coordinate.
|
|
24
|
+
*/
|
|
25
|
+
Y: number;
|
|
26
|
+
};
|
|
27
|
+
export type Size = {
|
|
28
|
+
/**
|
|
29
|
+
* - The width.
|
|
30
|
+
*/
|
|
31
|
+
X: number;
|
|
32
|
+
/**
|
|
33
|
+
* - The height.
|
|
34
|
+
*/
|
|
35
|
+
Y: number;
|
|
36
|
+
};
|
|
37
|
+
export type Rect = {
|
|
38
|
+
/**
|
|
39
|
+
* - The X coordinate of the top-left corner.
|
|
40
|
+
*/
|
|
41
|
+
X: number;
|
|
42
|
+
/**
|
|
43
|
+
* - The Y coordinate of the top-left corner.
|
|
44
|
+
*/
|
|
45
|
+
Y: number;
|
|
46
|
+
/**
|
|
47
|
+
* - The width of the rectangle.
|
|
48
|
+
*/
|
|
49
|
+
Width: number;
|
|
50
|
+
/**
|
|
51
|
+
* - The height of the rectangle.
|
|
52
|
+
*/
|
|
53
|
+
Height: number;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* The rotation of the screen. Can be one of 'Zero', 'Ninety', 'OneEighty', 'TwoSeventy'.
|
|
57
|
+
*/
|
|
58
|
+
export type Rotation = ('Zero' | 'Ninety' | 'OneEighty' | 'TwoSeventy');
|
|
17
59
|
export type Screen = {
|
|
18
60
|
/**
|
|
19
61
|
* - Unique identifier for the screen.
|
package/types/window.d.ts
CHANGED
|
@@ -5,48 +5,136 @@
|
|
|
5
5
|
* @return {Object} - The specified window object.
|
|
6
6
|
*/
|
|
7
7
|
export function Get(windowName: string): any;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Centers the window on the screen.
|
|
10
|
+
*/
|
|
11
|
+
export function Center(): void;
|
|
12
|
+
/**
|
|
13
|
+
* Sets the title of the window.
|
|
14
|
+
* @param {string} title - The title to set.
|
|
15
|
+
*/
|
|
16
|
+
export function SetTitle(title: string): void;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the window to fullscreen.
|
|
19
|
+
*/
|
|
20
|
+
export function Fullscreen(): void;
|
|
21
|
+
/**
|
|
22
|
+
* Sets the size of the window.
|
|
23
|
+
* @param {number} width - The width of the window.
|
|
24
|
+
* @param {number} height - The height of the window.
|
|
25
|
+
*/
|
|
26
|
+
export function SetSize(width: number, height: number): void;
|
|
27
|
+
/**
|
|
28
|
+
* Gets the size of the window.
|
|
29
|
+
*/
|
|
30
|
+
export function Size(): any;
|
|
31
|
+
/**
|
|
32
|
+
* Sets the maximum size of the window.
|
|
33
|
+
* @param {number} width - The maximum width of the window.
|
|
34
|
+
* @param {number} height - The maximum height of the window.
|
|
35
|
+
*/
|
|
36
|
+
export function SetMaxSize(width: number, height: number): void;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the minimum size of the window.
|
|
39
|
+
* @param {number} width - The minimum width of the window.
|
|
40
|
+
* @param {number} height - The minimum height of the window.
|
|
41
|
+
*/
|
|
42
|
+
export function SetMinSize(width: number, height: number): void;
|
|
43
|
+
/**
|
|
44
|
+
* Sets the window to always be on top.
|
|
45
|
+
* @param {boolean} onTop - Whether the window should always be on top.
|
|
46
|
+
*/
|
|
47
|
+
export function SetAlwaysOnTop(onTop: boolean): void;
|
|
48
|
+
/**
|
|
49
|
+
* Sets the relative position of the window.
|
|
50
|
+
* @param {number} x - The x-coordinate of the window's position.
|
|
51
|
+
* @param {number} y - The y-coordinate of the window's position.
|
|
52
|
+
*/
|
|
53
|
+
export function SetRelativePosition(x: number, y: number): void;
|
|
54
|
+
/**
|
|
55
|
+
* Gets the relative position of the window.
|
|
56
|
+
*/
|
|
57
|
+
export function RelativePosition(): any;
|
|
58
|
+
/**
|
|
59
|
+
* Gets the screen that the window is on.
|
|
60
|
+
*/
|
|
61
|
+
export function Screen(): any;
|
|
10
62
|
export type Screen = import("./screens").Screen;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
*
|
|
51
|
-
|
|
52
|
-
|
|
63
|
+
/**
|
|
64
|
+
* Hides the window.
|
|
65
|
+
*/
|
|
66
|
+
export function Hide(): void;
|
|
67
|
+
/**
|
|
68
|
+
* Maximises the window.
|
|
69
|
+
*/
|
|
70
|
+
export function Maximise(): void;
|
|
71
|
+
/**
|
|
72
|
+
* Un-maximises the window.
|
|
73
|
+
*/
|
|
74
|
+
export function UnMaximise(): void;
|
|
75
|
+
/**
|
|
76
|
+
* Toggles the maximisation of the window.
|
|
77
|
+
*/
|
|
78
|
+
export function ToggleMaximise(): void;
|
|
79
|
+
/**
|
|
80
|
+
* Minimises the window.
|
|
81
|
+
*/
|
|
82
|
+
export function Minimise(): void;
|
|
83
|
+
/**
|
|
84
|
+
* Un-minimises the window.
|
|
85
|
+
*/
|
|
86
|
+
export function UnMinimise(): void;
|
|
87
|
+
/**
|
|
88
|
+
* Restores the window.
|
|
89
|
+
*/
|
|
90
|
+
export function Restore(): void;
|
|
91
|
+
/**
|
|
92
|
+
* Shows the window.
|
|
93
|
+
*/
|
|
94
|
+
export function Show(): void;
|
|
95
|
+
/**
|
|
96
|
+
* Closes the window.
|
|
97
|
+
*/
|
|
98
|
+
export function Close(): void;
|
|
99
|
+
/**
|
|
100
|
+
* Sets the background colour of the window.
|
|
101
|
+
* @param {number} r - The red component of the colour.
|
|
102
|
+
* @param {number} g - The green component of the colour.
|
|
103
|
+
* @param {number} b - The blue component of the colour.
|
|
104
|
+
* @param {number} a - The alpha component of the colour.
|
|
105
|
+
*/
|
|
106
|
+
export function SetBackgroundColour(r: number, g: number, b: number, a: number): void;
|
|
107
|
+
/**
|
|
108
|
+
* Sets whether the window is resizable.
|
|
109
|
+
* @param {boolean} resizable - Whether the window should be resizable.
|
|
110
|
+
*/
|
|
111
|
+
export function SetResizable(resizable: boolean): void;
|
|
112
|
+
/**
|
|
113
|
+
* Gets the width of the window.
|
|
114
|
+
*/
|
|
115
|
+
export function Width(): any;
|
|
116
|
+
/**
|
|
117
|
+
* Gets the height of the window.
|
|
118
|
+
*/
|
|
119
|
+
export function Height(): any;
|
|
120
|
+
/**
|
|
121
|
+
* Zooms in the window.
|
|
122
|
+
*/
|
|
123
|
+
export function ZoomIn(): void;
|
|
124
|
+
/**
|
|
125
|
+
* Zooms out the window.
|
|
126
|
+
*/
|
|
127
|
+
export function ZoomOut(): void;
|
|
128
|
+
/**
|
|
129
|
+
* Resets the zoom of the window.
|
|
130
|
+
*/
|
|
131
|
+
export function ZoomReset(): void;
|
|
132
|
+
/**
|
|
133
|
+
* Gets the zoom level of the window.
|
|
134
|
+
*/
|
|
135
|
+
export function GetZoomLevel(): any;
|
|
136
|
+
/**
|
|
137
|
+
* Sets the zoom level of the window.
|
|
138
|
+
* @param {number} zoomLevel - The zoom level to set.
|
|
139
|
+
*/
|
|
140
|
+
export function SetZoomLevel(zoomLevel: number): void;
|