1.0.0-alpha • Published 6 years ago
nat-device-volume v1.0.0-alpha
nat-device-volume
Installation
weexpack plugin add nat-device-volume
npm install natjs --save
Usage
Use in weex project (.vue
/.we
)
<script>
import Nat from 'natjs'
// get
Nat.volume.get((err, ret) => {
console.log(ret)
})
// set
Nat.video.set(0.5)
</script>
See the Nat Documentation for more details.