Add new method to set layout-based zoom level limit
This commit is contained in:
parent
71f94c7a3a
commit
e2649ce7d8
4 changed files with 8 additions and 0 deletions
|
@ -100,6 +100,7 @@ WebContents.prototype.sendToAll = function (channel, ...args) {
|
|||
// Following methods are mapped to webFrame.
|
||||
const webFrameMethods = [
|
||||
'insertText',
|
||||
'setLayoutZoomLevelLimits',
|
||||
'setZoomFactor',
|
||||
'setZoomLevel',
|
||||
'setZoomLevelLimits'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue