Closes the current eitri-app
Example:
Eitri.navigation.close()
- API LEVEL
1
- Functionality added
Optional
options: CloseOptionsNavigates to another screen contained in the views folder
Examples:
Simple navigation to a View in the folder:
Eitri.navigation.navigate({path: '/AnotherView'})
Navigation passing a state object from one view to another:
Eitri.navigation.navigate({path: '/AnotherView', state: { name: 'Pedro Álvares Cabral' }})
Use replace = true to indicate that the view will be replaced by the next one:
Eitri.navigation.navigate({path: '/AnotherView', replace: true})
- API LEVEL
1
- Functionality added
Navigation configurations
Opens an eitri-app
Example:
Eitri.navigation.open({
slug: 'checkout',
initParams: {item: 'Refrigerator', id: 999987},
restorationContext: {screen: 'categories/appliances'}
})
- API LEVEL
1
- Functionality added
Eitriapp opening configurations
Generated using TypeDoc
Set of methods for navigating between screens. Each set of files (jsx and js) in the view folder generates a screen. It is possible to navigate through these screens using the methods described here.