eLabSDK.Experiment.Section.Sample

Functions

NameDescription
addSamples(sampleIDs)Add Samples to the section

Events

addSamples(sampleIDs)

Add Samples to the section

Kind: global function

ParamType
sampleIDsarray

"onSampleAdded" (object)

Kind: event emitted

ParamType
objecteLabSDK.Experiment.ContentUpdater.Sample

Example

var sampleSection = experiment.sections[0];
     sampleSection.onSampleAdded(function(){
         alert('samples are added!');
     });
     sampleSection.addSamples([1234]);

© 2023 eLabNext