eLabSDK2.Inventory.Sample.SampleForm
Hierarchy
-
unknown
↳
SampleForm
Methods
getSampleFieldFromSampleForm
Static
getSampleFieldFromSampleForm(fieldName
): HTMLInputElement
Retrieve a sample field from the field name
Parameters
Name | Type |
---|---|
fieldName | string |
Returns
HTMLInputElement
field : field if found
onAddNewSampleFormLoaded
Static
onAddNewSampleFormLoaded(callback
, id
): void
Triggers the given callback function when new sample form is loaded
is loaded in the add sample form page
Parameters
Name | Type | Description |
---|---|---|
callback | (event : CustomEvent <SampleFormInterface >) => void | Callback function to call when the sample form is ready |
id | string | - |
Returns
void
registerAction
Static
registerAction(action
): void
Register a custom action for the sample form
Parameters
Name | Type |
---|---|
action | Action |
Returns
void
setSampleFormData
Static
setSampleFormData(data
): void
Set Sample Form Data
Parameters
Name | Type |
---|---|
data | SampleFormInputData [] |
Returns
void
© 2023 eLabNext
Updated 9 months ago