Contents

BrowserWindowOptions

Extends: BaseWindowOptions

Properties 

url 

readonly url?: string;

The URL to load when the window is created.

It can be a remote URL (e.g., “https://example.com”), an absolute path to a local file (e.g., “file:///path/to/file.html”), or the URL of the application frontend entry point you can access via app.url.

Example 

import { BrowserWindow } from '@mobrowser/api';

const win = new BrowserWindow({
  url: 'https://example.com'
})
win.show()