MCPcopy Index your code
hub / github.com/NativeScript/nativescript-sdk-examples-js

github.com/NativeScript/nativescript-sdk-examples-js @6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 6.0 ↗ · + Follow
689 symbols 901 edges 383 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

nativescript-sdk-examples-js

This repo contains the code of the NativeScript UI Widgets and NativeScript Framework Modules.

You can get the source code of the application and start exploring the code there, or you can read the documentation articles associated with each of the examples. The application is also very useful as a NativeScript playground - you can use the source code as a starting point and modify them to fit your app needs.

It is very easy to contribute to the samples and we encourage you to contribute any samples you think that will be useful for other developers. If you need a sample that is missing, please open a new issue so that other member of the community can help you.

Please read the contribution guide here.

All the samples have automated tests associated with them and you can be sure that they work with the latest NativeScript version.

The code is NativeScript Core based (using JavaScript)

We hope you will enjoy using this resource, if you have any feedback please open an issue.

Run the app from source code

git clone https://github.com/NativeScript/nativescript-sdk-examples-js.git
cd nativescript-sdk-examples-js
tns run android|ios

Core symbols most depended-on inside this repo

compareElementsLocation
called by 8
e2e/animations.js
prettify
called by 4
scripts/build.js
findActivityIndicator
called by 3
e2e/activity-indicator.js
findButton
called by 3
e2e/button.js
launchExample
called by 2
app/app.ts
launchExample
called by 2
app/app.js
updateMessage
called by 2
app/ns-framework-modules-category/observable/mvvm-pattern/main-view-ts-model.ts
getMessage
called by 2
app/ns-framework-modules-category/observable/mvvm-pattern/main-view-model.js

Shape

Function 662
Class 14
Method 13

Languages

TypeScript100%

Modules by API surface

app/home/first-ts-page.ts13 symbols
app/ns-framework-modules-category/http/get/get-ts-page.ts10 symbols
app/ns-framework-modules-category/http/get/get-page.js10 symbols
scripts/build.js7 symbols
app/ns-ui-widgets-category/text-field/basics/basics-ts-page.ts7 symbols
app/ns-ui-widgets-category/text-field/basics/basics-page.js7 symbols
app/ns-ui-widgets-category/page/page-events/page-events-ts-page.ts7 symbols
app/ns-ui-widgets-category/page/page-events/page-events-page.js7 symbols
app/ns-framework-modules-category/fetch/get/get-ts-page.ts7 symbols
app/ns-framework-modules-category/fetch/get/get-page.js7 symbols
app/ns-ui-widgets-category/web-view/events/events-ts-page.ts6 symbols
app/ns-ui-widgets-category/web-view/events/events-page.js6 symbols

For agents

$ claude mcp add nativescript-sdk-examples-js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact