프로젝트
GitHub에서 보기 

natjs/nat
소개
A powerful kit for adding native functionalities to your weex app.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalNat.js
Next generation mobile framework for building native / hybrid apps.
Links
Documentation
To check out docs and examples, visit natjs.com.
Nat Explorer

Nat Explorer is a nat example app, help you explore Nat modules instantly. Source Code
Also, you can download it directly by scan the QRcode below.

Installation
npm install natjs --save
Add nat moudles you need from weex plugin market
weexpack plugin add [nat moudle]
Usage
Use Nat in vue/weex file (.vue/.we)
<script>
import Nat from 'natjs'
// Make a phone call
Nat.call('415-736-0000')
// Take a photo
Nat.camera.captureImage((err, ret) => {
console.log('Path: ', ret.path)
})
// Get device info
Nat.device.info((err, ret) => {
console.log('Info: ', ret)
})
</script>
Modules
- camera
- communication
- geolocation
- media
- image
- audio
- video
- modal
- recorder
- steam
- transfer
- sensor
- accelerometer
- compass
- device
- info
- network
- vibration
- screen
- volume
- battery
- third-party
- alipay
Supported Platforms
- Android
- iOS
License
Copyright (c) 2017-present, Acathur
관련 프로젝트 살펴보기
불러오는 중…