You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/References/Window.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -297,7 +297,7 @@ Turn the window's native shadow on/off. Useful for frameless, transparent window
297
297
The behavior of the function is changed since 0.13.0. Please see [Migration Notes from 0.12 to 0.13](../For Users/Migration/From 0.12 to 0.13.md).
298
298
299
299
*`iframe``{String} or {HTMLIFrameElement}`_Optional_ the id or the element of the `<iframe>` to be jailed on. By default, the DevTools is shown for entire window.
300
-
*`callback(dev_win)``{Function}` callback with the native window of the DevTools window.
300
+
*`callback(dev_win, error)``{Function}` callback with the native window of the DevTools window.
301
301
302
302
Open the devtools to inspect the window.
303
303
@@ -309,6 +309,14 @@ This function returns a `Window` object via the callback. You can use any proper
309
309
310
310
See also in [webview reference](webview Tag.md) on how to open DevTools for webview or open DevTools in a webview.
0 commit comments