eLabSDK.Page.Study

addTopMenu(object)

Adds a navigation element to the top main menu

Kind: global function

ParamType
objectobject
object.labelstring
object.placeLastbool
object.actionfunction

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

© 2023 eLabNext