eLABSDK V1.0

API Docs for: 1.0.0
Show:

eLabSDK.Page.Navigation

Module: eLabSDK

Summary

Customize the general Menu's

Item Index

Methods

Methods

addTopMenu

Syntax

addTopMenu

(
  • object
)

Summary

Adds a navigation element to the top main menu

Parameters:

  • object Object
    • label String
    • placeLast Bool
    • action Function

Example:

 var nav = new eLabSDK.Page.Navigation();
 nav.addTopMenu({
     label: 'Start Custom Function',
     placeLast: true.
     action: function(){
         alert('Thank you for using this custom feature');
     }
 });