nstudio / nativescript-cardview

:diamonds: :clubs: NativeScript widget for Material Design CardView
MIT License
282 stars 51 forks source link

adding cardview to angular project #25

Closed krismcfarlin closed 8 years ago

krismcfarlin commented 8 years ago

How would I "Make sure you include xmlns:Card="nativescript-cardview" on the Page element" if I am using the "nativescript-angular/router"?

bradmartin commented 8 years ago

Hey @krismcfarlin that's non ng2. I should specify that I guess :) I don't use ng2 so I forget these things. With ng2 + NativeScript you'd registerElement(). There should be an example somewhere how to do that with ng2.

bradmartin commented 8 years ago

Check the doc on the DrawingPad plugin here: https://github.com/bradmartin/nativescript-drawingpad#angular - the same process for UI plugins with NativeScript+Angular