• Home
  • Search Tags
  • About

nativescript

Topics related to nativescript:

Getting started with nativescript

Nativescript is a highly performant cross-platform mobile app runtime, which allows you to target iOS and android (with windows in the pipeline) using web technologies (JS and html). It was created with a number of key aims:

  • Visually Performant: no UI Jank even on android you have buttery smooth fps
  • Extensible: you have access to all native APIs, to create easy cross platform plugins
  • Completely native UI
  • Highly Integrated with Typescript and Angular 2
  • Open Source, with strong corporate backing from Telerik

Global Variables

Styling nativescript template

Accessing native apis

Displaying data as list (using Repeater, ListView or *ngFor for {N}+Angular-2 apps)

Note: Don't use Repeater in {N}+Angular-2 applications! The *ngRepeat is obsolete directive in Angular-2. When you need to display repeating item patterns use either ListView or *ngFor structural directive.

implement Interface

using native widget

Implementing Animations in Nativescript

StatusBar

Multithreading Model

The new chrome v8 engine is partially ES7 compliant. So if we add "use strict"; to top of our file (typescript do that when transpiles typescript) we have to make sure that any functions that are on the global scope are actually assigned to the global scope. so we should use self.functionName or global.functionName.

Content on the page is taken from Stack Overflow Documentation

This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service