Skip to main content

SET_CONTENTS_SIZE

Constant SET_CONTENTS_SIZE 

Source
pub const SET_CONTENTS_SIZE: &str = "Browser.setContentsSize";
Expand description

Set size of the browser contents resizing browser window as necessary.

Experimental: may change without notice.

Parameters:

  • windowId: WindowID
  • width: integer (optional)
  • height: integer (optional)