mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 07:37:24 +00:00
Add new home-automation demo (#6654)
This commit is contained in:
parent
04edafe121
commit
e0557536a6
104 changed files with 4117 additions and 0 deletions
10
demos/home-automation/node/main.js
Normal file
10
demos/home-automation/node/main.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env node
|
||||
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import * as slint from "slint-ui";
|
||||
|
||||
const ui = slint.loadFile("../ui/demo.slint");
|
||||
const window = new ui.AppWindow();
|
||||
|
||||
await window.run();
|
Loading…
Add table
Add a link
Reference in a new issue