mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 20:31:27 +00:00
Add example for custom carousel widget (#1739)
Add a new example that contains a custom carousel widget
This commit is contained in:
parent
0d07d34c69
commit
e5bf4c05de
32 changed files with 465 additions and 1 deletions
11
examples/carousel/node/main.js
Normal file
11
examples/carousel/node/main.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env node
|
||||
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
||||
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
||||
|
||||
const path = require("path");
|
||||
let slint = require("slint-ui");
|
||||
|
||||
let demo = require("../ui/carousel_demo.slint");
|
||||
let app = new demo.MainWindow();
|
||||
|
||||
app.run();
|
||||
Loading…
Add table
Add a link
Reference in a new issue