Skip to content

Files

Latest commit

 

History

History
 
 

javascript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

javascript

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

Installation

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install javascript --save

git

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

Getting Started

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);
});

Documentation for API Endpoints

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

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.