MCPcopy Index your code
hub / github.com/NativeScript/nativescript-angular

github.com/NativeScript/nativescript-angular @11.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 11.2.0 ↗ · + Follow
1,787 symbols 3,279 edges 386 files 5 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

NativeScript Angular

Build Status

This repository contains the code for integration of NativeScript with Angular.

NativeScript is a framework which enables developers to write truly native mobile applications for Android and iOS using JavaScript and CSS. Angular is one of the most popular open source JavaScript frameworks for application development. We worked closely with developers at Google to make Angular in NativeScript a reality. The result is a software architecture that allows you to build mobile apps using the same framework—and in some cases the same code—that you use to build Angular web apps, with the performance you’d expect from native code. Read more about building truly native mobile apps with NativeScript and Angular.

Watch the video explaining Angular and NativeScript

NativeScript session on AngularConnect conference

Explore the examples

The e2e apps are meant for testing stuff. You can take a look at these additional sample apps that use the published builds from npm:

Contribute

We love PRs! Check out the contributing guidelines and development workflow for local setup. If you want to contribute, but you are not sure where to start - look for issues labeled help wanted.

Known issues

  1. There are certain issues with the Parse5DomAdapter and we'll likely need to provide our own later on:
  2. Self-closing elements (<Label text="Name" /><Button text="Save" />) get parsed wrong (in this case Button gets parsed as a Label child.

Get Help

Please, use github issues strictly for reporting bugs or requesting features. For general questions and support, check out Stack Overflow or ask our experts in NativeScript community Slack channel.

Extension points exported contracts — how you extend this code

ComponentView (Interface)
(no doc) [4 implementers]
nativescript-angular/directives/templated-items-comp.ts
AppLaunchView (Interface)
(no doc) [1 implementers]
nativescript-angular/platform-common.ts
PageFactoryOptions (Interface)
(no doc)
nativescript-angular/platform-providers.ts
ViewClass (Interface)
(no doc)
nativescript-angular/element-registry.ts
LocationState (Interface)
(no doc)
nativescript-angular/router/ns-location-utils.ts
Keyframe (Interface)
(no doc)
nativescript-angular/animations/utils.ts
ElementTuple (Interface)
(no doc)
e2e/renderer/e2e/ngforof.e2e-spec.ts
DataItem (Interface)
(no doc)
e2e/nested-router-tab-view/app/data.service.ts

Core symbols most depended-on inside this repo

log
called by 189
tests/app/base.component.ts
push
called by 69
nativescript-angular/router/ns-route-reuse-strategy.ts
registerElement
called by 48
nativescript-angular/element-registry.ts
nsTestBedRender
called by 45
nativescript-angular/testing/src/util.ts
toString
called by 41
nativescript-angular/router/ns-location-strategy.ts
isAbove
called by 28
e2e/renderer/e2e/helpers/location.ts
assureFirstComponent
called by 27
e2e/router/e2e/router.e2e-spec.ts
findOutlet
called by 24
nativescript-angular/router/ns-location-strategy.ts

Shape

Method 918
Class 662
Function 181
Interface 25
Enum 1

Languages

TypeScript100%

Modules by API surface

nativescript-angular/dom-adapter.ts122 symbols
tests/app/tests/renderer-tests.ts58 symbols
nativescript-angular/router/ns-location-strategy.ts38 symbols
nativescript-angular/view-util.ts35 symbols
nativescript-angular/router/page-router-outlet.ts30 symbols
nativescript-angular/renderer.ts28 symbols
tests/app/tests/ns-location-strategy.ts26 symbols
tests/app/tests/value-accessor-tests.ts24 symbols
nativescript-angular/platform-common.ts24 symbols
nativescript-angular/animations/animation-driver.ts24 symbols
nativescript-angular/directives/templated-items-comp.ts23 symbols
nativescript-angular/directives/action-bar.ts23 symbols

For agents

$ claude mcp add nativescript-angular \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact