NativeScript 6.2 发布,黑暗模式和新的 npm 包

栏目: 软件资讯 · 发布时间: 6年前

内容简介:NativeScript 6.2 已经发布,主要内容如下: Dark Mode 该版本引入黑暗模式: 更新主题,最新版本支持黑暗模式的开箱即用 拥有自己实现黑暗模式所需的扩展点 可以选择从操作系统继承暗模式设置,也可以在应用程序...

NativeScript 6.2 已经发布,主要内容如下:

Dark Mode

该版本引入黑暗模式:

  • 更新主题,最新版本支持黑暗模式的开箱即用
  • 拥有自己实现黑暗模式所需的扩展点
  • 可以选择从操作系统继承暗模式设置,也可以在应用程序中实现自定义控件
  • 大多数 “Pro” NativeScript 组件,如日历、图表和 DataFrom,已经提供了黑暗模式外观

NativeScript 6.2 发布,黑暗模式和新的 npm 包

NativeScript 6.2 发布,黑暗模式和新的 npm 包

Scoped NPM Packages

该版本在单个 NPM 范围内提供所有 NativeScript NPM 包,包括新的:

  • @nativescript/core
  • @nativescript/angular
  • @nativescript/theme

Kotlin 的扩展函数/属性支持 

现在能够在 NativeScript 中调用用 Kotlin 写成的 ArrayList 扩展函数:

fun ArrayList<String>.bubbleSort() { // Implementation of a bubble sort }

然后,在 NativeScript 应用程序中,调用此函数:

let arrayList = new java.util.ArrayList();
arrayList.bubbleSort();

详细内容请见发布说明:

https://www.nativescript.org/blog/nativescript-6.2-the-darkest-release-ever


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

RESTful Web Services Cookbook

RESTful Web Services Cookbook

Subbu Allamaraju / Yahoo Press / 2010-3-11 / USD 39.99

While the REST design philosophy has captured the imagination of web and enterprise developers alike, using this approach to develop real web services is no picnic. This cookbook includes more than 10......一起来看看 《RESTful Web Services Cookbook》 这本书的介绍吧!

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具