eLabSDK.Experiment.Section Class
Class that allows creating experiment sections
Constructor
eLabSDK.Experiment.Section
        
            (
    
    - 
                        object
Parameters:
- 
                        objectObject- 
                                    experimenteLabSDK.Experiment
- 
                                    sectionIDInt
 
- 
                                    
Item Index
Properties
Attributes
Methods
addSection
        
            (
    
    - 
                        configObject
- 
                        onCreated
        Adds a section to this experiment
    
        Parameters:
- 
                        configObjectObj- 
                                    headerString- Section Header Text
 
- 
                                    typeeLabSDK.Experiment.Section.SECTIONTYPE- Section Type
 
 
- 
                                    
- 
                        onCreatedFunction
getExperimentID
        ()
        
            Int
        
    
    Returns:
                        Int:
                    experimentID
            
        getMeta
        ()
        
            
        
    
    Returns:
metadata of section
getSection
        
            (
        
            eLabSDK.Experiment.Section
        
    
    - 
                        sectionID
        Gets the section object by ID
    
        Parameters:
- 
                        sectionIDType
Returns:
                        eLabSDK.Experiment.Section:
                    section or null of it doest not exist
            
        getStudyID
        ()
        
            Int
        
    
    Returns:
                        Int:
                    studyID
            
        Properties
object.type
    eLabSDK.Experiment.Section.SECTIONTYPE
    
    sections
    Array
    
    
        Array of eLabSDK.Experiment.Section
Sections of experiment
    
Events
onCreated
                        
                    
                    
                    
                    
                    
                        
                    
                        
                            Use 
                    
                    
                    
                            this to access class
                        Example:
  var ev = experimentObject.onCreated(function () { 
                          alert('Experiment created'); 
                      });onLoaded
                        
                    
                    
                    
                    
                    
                        
                    
                        
                            Use 
                    
                    
                    
                            this to access class
                        Example:
  var ev = experimentObject.onLoaded(function () { 
                          alert('Experiment onLoaded'); 
                      });