Skip to content

Conversation

@nglmercer
Copy link
Contributor

@nglmercer nglmercer commented Jan 15, 2026

All examples work, tested on cachy os (arch distro)
imagen

@nglmercer
Copy link
Contributor Author

nglmercer commented Jan 15, 2026

Could you change all the examples to ts? I'm using bun to run it like bun ./examples/url.ts

import { Application, Theme } from '../index.js';

const app = new Application();
/*
window.createWebview({
  title: 'Hello world',
  url: 'https://nodejs.org',
});
*/ 
// new:
const window = app.createBrowserWindow({
  title: 'nodejs'
});

window.createWebview({
  url: 'https://nodejs.org',
});

window.setTheme(Theme.Dark);

app.run();
//    window.evaluateScript(string) to webview.evaluateScript(string)

@twlite twlite merged commit 0a8f2b6 into webviewjs:main Jan 15, 2026
11 checks passed
@twlite
Copy link
Member

twlite commented Jan 15, 2026

Could you change all the examples to ts? I'm using bun to run it like bun ./examples/url.ts
sure will do it soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants