eLabSDK.Page.Experiment Class
Customize the Experiment Page
Constructor
eLabSDK.Page.Experiment
(
-
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