Constructor
new EMLMethodsView()
- Source:
Extends
Members
customMethodsSelector :string
jQuery selector for the element that contains the Custom Methods
Type:
- Source:
parentEMLView :EML211View
A reference to the EML211View that contains this EMLMethodsView.
Type:
- Source:
stepTemplate :UnderscoreTemplate
A small template to display each EMLMethodStep.
If you are going to extend this template for a theme, note that:
This template must keep the ".step-container" wrapper class.
This template must keep the textarea with the default data attributes.
The remove button must have a "remove" class
Type:
- Source:
Methods
removeMethodStep(e)
Remove this method step
Parameters:
Name |
Type |
Description |
e |
Event
|
|
- Source:
renderCustomMethods()
Renders the inputs for the custom EML Methods that are configured in the
AppConfig
If none are configured, nothing will be shown.
- Since:
- Source:
renderMethodStep(stepopt)
Renders a single EMLMethodStep model
Parameters:
- Since:
- Source:
renderNewMethodStep()
Renders a new empty method step input. Does not update the model at all.
- Source:
showValidation()
Shows validation errors that need to be fixed by the user
- Source:
updateMethodStepNums()
Updates the step number in the view for each step
- Since:
- Source: