Change webview's zoom level on JavaScript side
This commit is contained in:
parent
118924ba7a
commit
af02739c4e
8 changed files with 26 additions and 58 deletions
|
@ -59,6 +59,9 @@ PDFPageSize = {
|
|||
const webFrameMethods = [
|
||||
'executeJavaScript',
|
||||
'insertText',
|
||||
'setZoomFactor',
|
||||
'setZoomLevel',
|
||||
'setZoomLevelLimits',
|
||||
];
|
||||
|
||||
wrapWebContents = function(webContents) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue