4 ms·
This was a problem I was trying to solve as well and theres a pretty elegent solution that this project has implemented partly already. The "render to string" i
by formula1 10y ago
This was a problem I was trying to solve as well and theres a pretty elegent solution that this project has implemented partly already. The "render to string" is also a proof of concept that the indicates "unknown" types can be fullfilled by a "renderer". So long as he allows generic "renderers". Within a more free form environment like nativescript[
1], this library can be one of any that can be used. I was planning to implement blessed and nativescript uis but these can often be very painstaking tasks. If the developers on this project are committed, the sky is the limit!
[1] https://www.nativescript.org https://www.nativescript.org
- Drdrdrq 10y agoI didn't know about nativescript before, thanks for bringing it to my attention! That said, it looks like nativescript promotes single code for multiple platform, which means the app won't look awesome in any of them (examples from history: phonegap, java awt). I would be much more comfortable with it if I could just use JS to access native controls and style them using the established (platform specific) methods. I am guessing css will never support each and every widget property... Is this approach possible with nativescript?
- formula1 10y agoTbh, Im very early in my nativescript experiences (though I do believe in the project). But I believe these are some examples you are looking for http://docs.nativescript.org/ui/placeholder http://docs.nativescript.org/ui/placeholder http://docs.nativescript.org/core-concepts/accessing-native-apis-with-javascript http://docs.nativescript.org/core-concepts/accessing-native-... http://docs.nativescript.org/runtimes/ios/marshalling/Marshalling-Overview.html http://docs.nativescript.org/runtimes/ios/marshalling/Marsha... http://docs.nativescript.org/runtimes/android/marshalling/overview.html http://docs.nativescript.org/runtimes/android/marshalling/ov... http://docs.nativescript.org/plugins/plugins http://docs.nativescript.org/plugins/plugins