eLabSDK.Experiment.Section.File Class
Extends eLabSDK.Experiment.Section
Module: eLabSDK
Class that extends the Experiment.Section class for adding file sections
Constructor
eLabSDK.Experiment.Section.File
(
-
object
Parameters:
-
object
Object-
sectionID
Int
-
Item Index
Properties
Methods
addSection
(
-
configObject
-
onCreated
Inherited from eLabSDK.Experiment:
Adds a section to this experiment
Parameters:
-
configObject
Obj-
header
String- Section Header Text
-
type
eLabSDK.Experiment.Section.SECTIONTYPE- Section Type
-
-
onCreated
Function
getFiles
()
Array
Add Files to the section
Returns:
Array:
eLabSDK.ExperimentFile
getSection
(
eLabSDK.Experiment.Section
-
sectionID
Inherited from eLabSDK.Experiment:
Gets the section object by ID
Parameters:
-
sectionID
Type
Returns:
eLabSDK.Experiment.Section:
section or null of it doest not exist
Properties
sections
Array
Inherited from eLabSDK.Experiment:
Array of eLabSDK.Experiment.Section
Sections of experiment
Events
onCreated
Inherited from eLabSDK.Experiment:
Use
this
to access class
Example:
var ev = experimentObject.onCreated(function () {
alert('Experiment created');
});
onLoaded
Inherited from eLabSDK.Experiment:
Use
this
to access class
Example:
var ev = experimentObject.onLoaded(function () {
alert('Experiment onLoaded');
});