1.0.2 • Published 7 years ago

nat-geolocation v1.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

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

7 years ago

1.0.1

7 years ago

1.0.0-alpha.1

7 years ago

1.0.0-alpha

7 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago