Skip to content

natjs/weex-nat-navigator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.