eLabSDK.Page.ExperimentTemplate Class
Customize the Experiment Page
Constructor
eLabSDK.Page.ExperimentTemplate
(
-
object
Parameters:
-
object
Object-
onBeforePageLoad
Function- onBeforePageLoad Event
-
Methods
getExperimentObject
()
Should only be called after onReady of experiment. Otherwise use new eLabSDK.Experiment() directly
registerAction
(
-
menuConfig
Registers a new menu item in a section
Parameters:
-
menuConfig
Object-
showOnSigned
Bool- Show this menu item when the experiment is signed (default = true)
-
showOnNotSigned
Bool- Show this menu item when the experiment is not signed (default = true)
-
label
String- Label to be displayed next to the icon
-
Properties
Configuration object