|
@@ -1419,11 +1419,17 @@ Shows pop-up dictionary that searches the selected word on the page.
|
|
|
Set the size of the page. This is only supported for `<webview>` guest contents.
|
|
|
|
|
|
* `options` Object
|
|
|
- * `normal` Object (optional) - Normal size of the page. This can be used in
|
|
|
+ * `enableAutoSize` Boolean (optional) - true to make the webview container automatically
|
|
|
+ resize within the bounds specified by the attributes normal, min and max.
|
|
|
+ * `normal` [Size](structures/size.md) (optional) - Normal size of the page. This can be used in
|
|
|
+ combination with the [`disableguestresize`](webview-tag.md#disableguestresize)
|
|
|
+ attribute to manually resize the webview guest contents.
|
|
|
+ * `min` [Size](structures/size.md) (optional) - Minimum size of the page. This can be used in
|
|
|
+ combination with the [`disableguestresize`](webview-tag.md#disableguestresize)
|
|
|
+ attribute to manually resize the webview guest contents.
|
|
|
+ * `max` [Size](structures/size.md) (optional) - Maximium size of the page. This can be used in
|
|
|
combination with the [`disableguestresize`](webview-tag.md#disableguestresize)
|
|
|
attribute to manually resize the webview guest contents.
|
|
|
- * `width` Integer
|
|
|
- * `height` Integer
|
|
|
|
|
|
#### `contents.isOffscreen()`
|
|
|
|