NativeScript 插件 NativeScript Insomnia

码农软件 · 软件分类 · NativeScript 插件 · 2019-04-29 11:44:16

软件介绍

NativeScript Insomnia 是可以使得设备锁定然后屏幕不暗的 NativeScript 插件。

安装

tns plugin add nativescript-insomnia

使用

var insomnia = require("nativescript-insomnia");

keepAwake

  insomnia.keepAwake().then(function() {
        console.log("Insomnia is active");
  })

allowSleepAgain

  insomnia.allowSleepAgain().then(function() {
        console.log("Insomnia is inactive, good night!");
  })

本文地址:https://codercto.com/soft/d/4635.html

Realm of Racket

Realm of Racket

Matthias Felleisen、Conrad Barski M.D.、David Van Horn、Eight Students Northeastern University of / No Starch Press / 2013-6-25 / USD 39.95

Racket is the noble descendant of Lisp, a programming language renowned for its elegance and power. But while Racket retains the functional goodness of Lisp that makes programming purists drool, it wa......一起来看看 《Realm of Racket》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具