当前位置: 首页 > 软件库 > 手机/移动开发 > >

code-samples

授权协议 Apache-2.0 License
开发语言 JavaScript TypeScript
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 聂永怡
操作系统 iOS
开源组织
适用人群 未知
 软件概览

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:

  1. Layouts and Pages
  2. Forms and Data
  3. Interaction
  4. Animations
  5. Media
  6. Kinvey
  7. 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.

 相关资料
  • Code Runner for VS Code支持了超过 30 种语言: C, C++, Java, JavaScript, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, C# Script, VBScript, TypeScript, CoffeeScript, Scala,

  • Bootstrap允许您使用两种不同的键方式显示代码 - 第一个是code标签。 如果要以内联方式显示代码,则应使用code标记。 第二个是pre标签。 如果代码需要显示为独立的块元素,或者如果它有多行,那么您应该使用pre标记。 确保在使用pre和code标记时,使用unicode变体作为开始和结束标记 - &lt; 和&gt; 。 我们来看下面的例子 - <p><code><header></

  • Generate session URL/code dialog is used to generate a session URL, a file URL or a code template. To open the dialog to generate the session URL or code, use: Session > Generate Session URL/Code comm

  • Code Splitting shadow-cljs 支持 Code splitting, 以及 Long term caching, 参考这个例子: https://github.com/minimal-xyz/minimal-shadow-cljs-release {:source-paths ["src/"] :dependencies [] :builds {:app {:output

  • This plugin adds a toolbar button that allows a user to edit the HTML code hidden by the WYSIWYG view. It also adds the menu item Source code under the Tools menu. Example tinymce.init({ selector: "

  • from __future__ import print_function import numpy as np class RBM: def __init__(self, num_visible, num_hidden, learning_rate = 0.1): self.num_hidden = num_hidden self.num_visi