3 ms·
https://slint.dev/demos/todo/ https://slint.dev/demos/todo/
by ogoffart 3y ago
https://slint.dev/demos/todo/ https://slint.dev/demos/todo/
- rubymamis 3y agoNice. Next, if they could show off better aesthetics and cool animations, it would add much more.
- josephg 3y agoUrgh. Cool demo, but to everyone considering Slint - please don't make general purpose websites using tools like this. Slint's web target does completely custom rendering of its UI components to an HTML canvas element. This will never look or feel like a real website - where the browser can use native controls and native keyboard shortcuts. This also makes the browser's dev tools totally useless, and obfuscates how websites work. And this page is completely invisible to screen readers. If I'm on a mac, I expect that in a text box, all my mac specific keyboard shortcuts should work (cmd+arrow keys, cmd+A, copy/paste, etc). This page doesn't support any of those shortcuts. If I'm on mobile, I expect text input controls to use my configured keyboard and autocomplete. I haven't tried, but I suspect none of that works either. This is fine for embedded devices. And maybe desktop apps, where you at least know the OS and you can set up keyboard shortcuts to match. But in a web app, its truly awful. Its like all of electron's jank backported into the browser. Don't do it.
- c-hendricks 3y agoWeb is not a primary target of Slint. > Web: In Progress. Slint apps can be compiled to WebAssembly and can run in a web browser. As there are many other web frameworks, the web platform is not one of our primary target platforms. The web support is currently limited to demo purposes. - https://github.com/slint-ui/slint/blob/master/README.md https://github.com/slint-ui/slint/blob/master/README.md
- josephg 3y agoThanks. What a relief. Fingers crossed it stays that way.