eLabSDK.Experiment.Section.Sample
Functions
Name | Description |
---|---|
addSamples(sampleIDs) | Add Samples to the section |
Events
Name | Description |
---|---|
"onSampleAdded" (object) |
addSamples(sampleIDs)
Add Samples to the section
Kind: global function
Param | Type |
---|---|
sampleIDs | array |
"onSampleAdded" (object)
Kind: event emitted
Param | Type |
---|---|
object | eLabSDK.Experiment.ContentUpdater.Sample |
Example
var sampleSection = experiment.sections[0];
sampleSection.onSampleAdded(function(){
alert('samples are added!');
});
sampleSection.addSamples([1234]);
© 2023 eLabNext
Updated 11 months ago