@lvce-editor/embeds-worker 4.15.1 → 4.15.3
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/dist/embedsWorkerMain.js +10 -0
- package/package.json +1 -1
package/dist/embedsWorkerMain.js
CHANGED
|
@@ -1194,6 +1194,14 @@ const setFallthroughKeyBindings = (id, fallthroughKeybindings) => {
|
|
|
1194
1194
|
return invokeAny$1('ElectronWebContentsView.setFallthroughKeyBindings', id, fallthroughKeybindings);
|
|
1195
1195
|
};
|
|
1196
1196
|
|
|
1197
|
+
const setZoomLevel = (id, zoomLevel) => {
|
|
1198
|
+
return invokeAny$1('ElectronWebContentsView.setZoomLevel', id, zoomLevel);
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1201
|
+
const toggleDevTools = id => {
|
|
1202
|
+
return invokeAny$1('ElectronWebContentsView.toggleDevTools', id);
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1197
1205
|
const commandMap = {
|
|
1198
1206
|
'ElectronWebContentsView.acceptLogin': acceptLogin,
|
|
1199
1207
|
'ElectronWebContentsView.backward': backward,
|
|
@@ -1226,7 +1234,9 @@ const commandMap = {
|
|
|
1226
1234
|
'ElectronWebContentsView.setAudioMuted': setAudioMuted,
|
|
1227
1235
|
'ElectronWebContentsView.setFallthroughKeyBindings': setFallthroughKeyBindings,
|
|
1228
1236
|
'ElectronWebContentsView.setIframeSrc': setIframeSrc,
|
|
1237
|
+
'ElectronWebContentsView.setZoomLevel': setZoomLevel,
|
|
1229
1238
|
'ElectronWebContentsView.show': show,
|
|
1239
|
+
'ElectronWebContentsView.toggleDevTools': toggleDevTools,
|
|
1230
1240
|
'Exit.exit': exit,
|
|
1231
1241
|
'Initialize.initialize': initialize
|
|
1232
1242
|
};
|