code-samples
code-samples copied to clipboard
Find code samples and building blocks for your NativeScript app in the Marketplace
NativeScript Code Samples
This repository contains a collection of code samples showcasing typical functions required of a cross-platform mobile app built with NativeScript.
These code samples are available on the NativeScript Marketplace 🏪 and run as-is in NativeScript Playground 🤸.
Prerequisites
If you are new to NativeScript, the best place to start is by following our getting started tutorials for either JavaScript or Angular. If you're a Vue.js developer, you may want to look at the NativeScript-Vue quick start.
Alternatively, mini tutorials are also available in the NativeScript Playground.
Overview of Code Samples
This repository contains a variety of code sample categories:
- Layouts and Pages
- Forms and Data
- Interaction
- Animations
- Media
- Kinvey
- Advanced
Contributing
Interested in contributing your own code sample? Great! 🎉
Before submitting a pull request, please consult our contributor guide.
Code of Conduct
Please be aware of, and follow, our official Code of Conduct.
Have a Question or Problem?
👉 If you have questions about how to use the code samples in a NativeScript app, please direct these to the NativeScript Forum.
Discover a Bug with a Code Sample?
If you find a bug in the source code or some other mistake, you can help by submitting an issue. You can also submit a pull request with a fix! 🛠️
License
Licensed under an Apache-2 license.