API Docs for: 1.0.0
Show:

eLabSDK.Page.Navigation Class

Customize the general Menu's

Item Index

Methods

Methods

addTopMenu

(
  • object
)

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