Snippets for all NativeScript UI components and some frequently used attributes specifically for use with nativescript-angular.
All UI components are prefixed with ns
. Attributes do not have a prefix.
###UI Components
Component
Files:nscomponent_template
nscomponent_templateUrl
The following can be used inside both TypeScript and HTML view files:
nsabsolute
nsdock
nsgrid
nsstack
nswrap
nsactionbar
nsactionbarback
nsactionbarcustomtitle
nslabel
nstextfield
nspassword
nstextview
nsimg
nsborder
nsbtn
nssearchbar
nsswitch
nsslider
nsprogress
nsloading
nsdate
nstime
nslistpicker
nssegmentedbar
nstabview
nslistview
nswebview
###Attributes
css
text
icon
tap
wrap
halign
valign
visibility
stretch
kbtype
colspan
rowspan
row
col
width
height
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.