eLabSDK.Experiment.Section.Text
Functions
Name | Description |
---|---|
addContent(sampleIDs) | Add Text to the section |
Events
Name | Description |
---|---|
"onParagraphContentAdded" (object) |
addContent(sampleIDs)
Add Text to the section
Kind: global function
Param | Type |
---|---|
sampleIDs | array |
"onParagraphContentAdded" (object)
Kind: event emitted
Param | Type |
---|---|
object | eLabSDK.Experiment.Section.Text |
Example
var content = "your-content-here";
paragraphSection.onParagraphContentAdded(function(){
alert('content added!');
});
paragraphSection.onParagraphContentAdded('your-content-here');
© 2023 eLabNext
Updated 9 months ago