Quantcast
Channel: How can you downcast in QML JavaScript? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Johannes Schaub - litb for How can you downcast in QML JavaScript?

For this case, as-Type-assertions should be used according to the QML documentation. This is unfortunately not explained in the documentation of QMLLint, but only on the linked page, as far as I can...

View Article



How can you downcast in QML JavaScript?

Javascript is a dynamically typed language and to the best of my knowledge has no concept of static type checking...But QML's qmllint program tries to apply static type checking to the Javascript...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images