1.0.2 • Published 6 years ago
nat-geolocation v1.0.2
nat-geolocation
Installation
weexpack plugin add nat-geolocation
npm install natjs --save
Usage
Use in weex project (.vue
/.we
)
<script>
import Nat from 'natjs'
// get
Nat.geolocation.get((err, ret) => {
console.log(ret)
})
// watch
Nat.geolocation.watch((err, ret) => {
console.log(ret)
})
// clearWatch
Nat.geolocation.clearWatch()
</script>
See the Nat Documentation for more details.
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0-alpha.1
6 years ago
1.0.0-alpha
6 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago