This package has been deprecated

Author message:

WARNING: This project has been renamed to 'natjs'. Install using 'npm i natjs' instead.

weex-nat

0.0.5 • Public • Published

Weex Nat

npm license

DEPRECATED: This project has been renamed to 'natjs'. Install using 'npm i natjs' instead.

Next generation mobile framework for building native / hybrid apps.

Links

Installation

npm install weex-nat --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 'weex-nat'
 
// 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

Package Sidebar

Install

npm i weex-nat

Weekly Downloads

1

Version

0.0.5

License

MIT

Last publish

Collaborators

  • acathur
  • natjs