eLabSDK.Page.Study
addTopMenu(object)
Adds a navigation element to the top main menu
Kind: global function
Param | Type |
---|---|
object | object |
object.label | string |
object.placeLast | bool |
object.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');
}
});
© 2023 eLabNext
Updated 9 months ago