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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ The `children` contents is what will be rendered into the new popup window. In t
45
45
|`features`|`Object`|`{}`| The set of window features ([more details on `windowFeatures`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open#Window_features)). |
46
46
|`onUnload`|`Function`|`undefined`| A function to be triggered before the new window unload. |
47
47
|`onBlock`|`Function`|`undefined`| A function to be triggered when the new window could not be opened. |
48
-
|`onOpen`|`Function`|`undefined`| A function to be triggered when window open by library. |
48
+
|`onOpen`|`Function(w: Window)`|`undefined`| A function to be triggered when window open by library. |
49
49
|`center`|`String`|`parent`| Indicate how to center the new window. Valid values are: `parent` or `screen`. `parent` will center the new window according to its _parent_ window. `screen` will center the new window according to the _screen_. |
50
50
|`copyStyles`|`Boolean`|`true`| If specified, copy styles from parent window's document. |
51
51
|`closeOnUnmount`|`Boolean`|`true`| If specified, close the new window on unmount. |
0 commit comments