nat-navigator
v0.2.2
Published
Nat.js module: Navigator
Downloads
4
Maintainers
Readme
nat-navigator
iOS Only (at present)
Installation
weexpack plugin add nat-navigator
npm install natjs --save
Usage
Use in weex file (.we)
<script>
import 'Nat' from 'natjs'
Nat.navigator.init({
fontSize: 24,
color: '#fff',
backgroundColor: '#0bc2ee'
})
Nat.navigator.push({
url: 'js file path'
})
Nat.navigator.pop()
</script>
See the Nat Documentation for more details.