hello-world.js— Hello World
1
2
3
4
5
6
7
8
9
10
Export to NativeScript
Drop these files into a NativeScript Angular project with @nativescript/canvas and @nativescript/canvas-polyfill installed, then wire them into your page route. The file registers the Canvas element itself; see the header comments for any extra packages this sample needs.
Component template
Use this Angular template alongside the component class in the same routed page.