1.0.0-alpha • Published 6 years ago

nat-device-volume v1.0.0-alpha

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

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.