mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
![]() Invoking the diagnostics getter would throw an exception because the JsDiagnostic type has no constructor. There's however no constructor that would allow for the previous laziness, so instead this PR bites the bullet: - When diagnostics are requested, we convert them all in one go into proper JavaScript objects. - The vector returned by line_column is replaced with more idiomatic column and lineNumber properties |
||
---|---|---|
.. | ||
__test__ | ||
npm | ||
src | ||
.gitignore | ||
.npmignore | ||
.yarnrc.yml | ||
build.rs | ||
Cargo.toml | ||
package.json | ||
README.md |
Slint-napi (pre-Alpha)
This is a restart of Slint-node
based on napi-rs. The current state is pre-Alpha
what means it is not yet ready for testing and use.
Implemented features
- js/ts wrapper for the
Slint
interpreter infrastructure - js/ts wrapper for
Slint
typesImageData
Color
Brush
Missing features
- Possibility to run js/ts
async
code after window run call - Generate a js/ts object-wrapper for the exported
Slint
component - Public access to Slint
globals
- CI: Generate prebuild platform
node
packages - Documentation generation
- js/ts wrapper for
Slint
typesModel
(wip)