ernnavigationApi - JavaScript client for javascript Navigation helper This SDK is automatically generated by Electrode Native API generator. It uses Swagger to generate bridge code for Swift, Android and React Native.
- Package version: 1.2.5
For Node.js
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install javascript --save
If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:
npm install GIT_USER_ID/GIT_REPO_ID --save
Please follow the installation instruction and execute the following JS code:
import { ernnavigationApi } from 'javascript';
const api = new ernnavigationApi.EnNavigationApi();
api.back(route).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
All URIs are relative to https://localhost
Class | Method | request type | Description |
---|---|---|---|
ernnavigationApi.EnNavigationApi | back | request /back | |
ernnavigationApi.EnNavigationApi | finish | request /finish | |
ernnavigationApi.EnNavigationApi | navEvent | event /events-navigation | |
ernnavigationApi.EnNavigationApi | navigate | request /navigate | |
ernnavigationApi.EnNavigationApi | onNavButtonClick | event /events | |
ernnavigationApi.EnNavigationApi | update | request /update |
- ernnavigationApi.ErnNavRoute
- ernnavigationApi.NavEventData
- ernnavigationApi.NavigationBar
- ernnavigationApi.NavigationBarButton
- ernnavigationApi.NavigationBarLeftButton
All endpoints do not require authorization.