Skip to content
/ nat Public
forked from natjs/nat

Next generation mobile framework for building native / hybrid apps.

Notifications You must be signed in to change notification settings

zjlweb/nat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nat.js

npm license

Next generation mobile framework for building native / hybrid apps.

Links

Installation

npm install natjs --save

add nat moudles you need from weex plugin market

weexpack plugin add [nat moudle you need]

Usage

Use Nat in weex file (.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)
})

// more...

</script>

Modules

  • camera
  • communication
  • geolocation
  • media
  • modal
  • recorder
  • network
  • sensor
  • device

Supported Platforms

  • Android
  • iOS

License

MIT

About

Next generation mobile framework for building native / hybrid apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%