nat-device-battery

1.0.0-alpha • Public • Published

nat-device-battery

Installation

weexpack plugin add nat-device-battery
npm install natjs --save

Usage

Use in weex project (.vue/.we)

<script>
import Nat from 'natjs'
 
// get battery status
Nat.battery.status((err, ret) => {
    console.log(ret)
})
 
</script> 

See the Nat Documentation for more details.

Package Sidebar

Install

npm i nat-device-battery

Weekly Downloads

3

Version

1.0.0-alpha

License

MIT

Unpacked Size

68.3 MB

Total Files

838

Last publish

Collaborators

  • natjs