API Docs for: 1.0.0
Show:

eLabSDK.Page.Experiment Class

Extends eLabSDK.Page
Module: eLabSDK.MessageQueue

Customize the Experiment Page

Constructor

eLabSDK.Page.Experiment

(
  • object
)

Parameters:

  • object Object
    • onBeforePageLoad Function
      • onBeforePageLoad Event

Item Index

Properties

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

Unknown

Configuration object