Nativescript element attributes
Binding expressions are supported only when ListView is their ancestor. In any other case, there won't be any value to bind to. So it will be empty.
Use hypens instead of camelcase like font-family and not fontFamily
Allows setting iOS only attributes. The attribute is set only when the mobile OS is iOS
Allows setting android only attributes. The attribute is set only when the mobile OS is android
Used to show a page as modal and no backstack is added
Sets encoded items to listViewWithSingleTemplate or listViewWithMultipleTemplate
Sets fontSize
Sets fontWeight
Sets fontStyle
Sets formattedText
Sets letterSpacing
Sets lineHeight
Sets nativeTextViewProtected
Sets text
Sets key
Sets icon
Sets style
Sets textAlignment
Sets textDecoration
Sets textShadow
Sets textTransform
Sets whiteSpace
Sets stretchLastChild
Sets orientation
Sets itemHeight
Sets itemWidth
Sets alignContent
Sets alignItems
Sets flexDirection
Sets flexWrap
Sets justifyContent
Sets padding
Sets paddingBottom
Sets paddingLeft
Sets paddingRight
Sets paddingTop
Sets accessibilityHidden
Sets accessibilityHint
Sets accessibilityIdentifier
Sets accessibilityLabel
Sets accessibilityLanguage
Sets accessibilityLiveRegion
Sets accessibilityMediaSession
Sets accessibilityRole
Sets accessibilityState
Sets accessibilityValue
Sets accessible
Sets alignSelf
Sets androidDynamicElevationOffset
Sets androidElevation
Sets automationText
Sets background
Sets backgroundColor
Sets backgroundImage
Sets borderBottomColor
Sets borderBottomLeftRadius
Sets borderBottomRightRadius
Sets borderBottomWidth
Sets borderColor
Sets borderLeftColor
Sets borderLeftWidth
Sets borderRadius
Sets borderRightColor
Sets borderRightWidth
Sets borderTopColor
Sets borderTopLeftRadius
Sets borderTopRightRadius
Sets borderTopWidth
Sets borderWidth
Sets boxShadow
Sets class
Sets col
Sets colSpan
Sets color
Sets column
Sets columns
Sets columnSpan
Sets css
Sets cssClasses
Sets cssPseudoClasses
Sets cssType
Sets dock
Sets domNode
Sets effectiveBorderBottomWidth
Sets effectiveBorderLeftWidth
Sets effectiveBorderRightWidth
Sets effectiveBorderTopWidth
Sets effectiveHeight
Sets effectiveLeft
Sets effectiveMarginBottom
Sets effectiveMarginLeft
Sets effectiveMarginRight
Sets effectiveMarginTop
Sets effectiveMinHeight
Sets effectiveMinWidth
Sets effectivePaddingBottom
Sets effectivePaddingLeft
Sets effectivePaddingRight
Sets effectivePaddingTop
Sets effectiveTop
Sets effectiveWidth
Sets flexGrow
Sets flexShrink
Sets flexWrapBefore
Sets height
Sets horizontalAlignment
Sets id
Sets itemId
Sets iosIgnoreSafeArea
Sets iosOverflowSafeArea
Sets iosOverflowSafeAreaEnabled
Sets isCollapsed
Sets isEnabled
Sets isLayoutRequired
Sets isLayoutValid
Sets isUserInteractionEnabled
Sets left
Sets margin
Sets marginBottom
Sets marginLeft
Sets marginRight
Sets marginTop
Sets minHeight
Sets minWidth
Sets nativeViewProtected
Sets opacity
Sets order
Sets originX
Sets originY
Sets perspective
Sets recycleNativeView
Sets reusable
Sets rotate
Sets rotateX
Sets rotateY
Sets row
Sets busy
Sets rows
Sets rowSpan
Sets scaleX
Sets scaleY
Sets top
Sets translateX
Sets translateY
Sets textWrap
Sets verticalAlignment
Sets viewController
Sets visibility
Sets width
Sets actionBarVisibility
Sets animated
Sets transition
Sets defaultTransition
Sets accessibilityAnnouncePageEnabled
Sets actionBarHidden
Sets androidStatusBarBackground
Sets backgroundSpanUnderStatusBar
Sets statusBarStyle
Sets date
Sets iosPreferredDatePickerStyle
Sets maxDate
Sets minDate
Sets day
Sets month
Sets year
Sets html
Sets decodeHeight
Sets decodeWidth
Sets isLoading
Sets loadMode
Sets src
Sets stretch
Sets tintColor
Sets selectedIndex
Sets maxValue
Sets value
Sets checked
Sets minValue
Sets horizontalOffset
Sets isScrollEnabled
Sets scrollBarIndicatorVisible
Sets scrollableHeight
Sets scrollableWidth
Sets verticalOffset
Sets hint
Sets textFieldBackgroundColor
Sets textFieldHintColor
Sets title
Sets flat
Sets titleView
Sets selectedBackgroundColor
Sets androidOffscreenTabLimit
Sets androidSelectedTabHighlightColor
Sets androidSwipeEnabled
Sets androidTabsPosition
Sets iosIconRenderingMode
Sets selectedTabTextColor
Sets tabBackgroundColor
Sets tabTextColor
Sets tabTextFontSize
Sets canBeLoaded
Sets canGoBack
Sets canGoForward
Sets iconSource
Sets autocapitalizationType
Sets autocorrect
Sets autofillType
Sets closeOnReturn
Sets editable
Sets keyboardType
Sets maxLength
Sets returnKeyType
Sets secure
Sets secureWithoutAutofill
Sets updateTextTrigger
Sets maxLines
Sets hour
Sets maxHour
Sets maxMinute
Sets minHour
Sets minMinute
Sets minute
Sets minuteInterval
Sets time
Sets iosPosition
Sets androidPosition
Sets iosSystemIcon
Sets androidSystemIcon
Sets iosEstimatedRowHeight
Sets rowHeight
Sets separatorColor of listView
Sets fontFamily to element
Caution: This allows execution of JS. Ensure your string is generated at compile time and NOT dynamic
Good usage:
BAD usage: