Skip to content

natjs/weex-nat-device-network

Repository files navigation

nat-device-network

Installation

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

Usage

Use in weex project (.vue/.we)

<script>
import Nat from 'natjs'

// get network status
Nat.network.status((err, ret) => {
    console.log(ret)
})

</script>

See the Nat Documentation for more details.