@mobrowser/api
v2.1.0
Published
MōBrowser API
Readme
This package contains the MōBrowser API declarations.
Here's how to use the API in your TypeScript code:
import { BrowserWindow } from '@mobrowser/api';
// Create a new application window.
const win = new BrowserWindow({
size: { width: 800, height: 650 },
});
win.centerWindow()
win.show()
// Load a web page.
win.browser.loadUrl('https://example.com');