Skip to content

natjs/weex-nat-device-info

Repository files navigation

nat-device-info

Installation

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

Usage

Use in weex project (.vue/.we)

<script>
import Nat from 'natjs'

// get info
Nat.device.info((err, ret) => {
    console.log(ret)
})

</script>

See the Nat Documentation for more details.