I'm learning developing cross-platform mobile-client app with nativescript. It turns out the UI component is extremely limited in nativescript and everytime I try to learn the official document, it leads me to angular2 docs. I know, nativescript uses angular2, but the examples in angular doesn't work on mobile client?
For example:
template: <button (click)="onClickMe()">Click me!</button> this kind of code can only work for web-app, it doesn't support the nativescript mobile client development, it can complie but there is nothing display, the formatting is somehow different:
<Button (tap)="onClickMe()" text="!" ></Button>
The above code is the code I'm looking for. But I can't find documents that tells me how to transfer between them. All the documents I found is about the first code.
I'm really struggling with this, I can't even find "radioButton" for mobile client:(
Just wanna know why the first code can't work on my ios simulator for the mobile app but the second one can? Aren't they all typescipt?
I'm new to this so maybe my question is dumb~~
Thank you for your patience!