Constructor
new MapAssetEditorView()
- Since:
- Source:
Extends
Members
className
- Source:
The existing asset supplied by the caller.
Type:
- Source:
The imagery editor owned by this view.
Type:
- Source:
Methods
events()
- Source:
focusLabel() → {void}
Focus and select the label for editing.
- Since:
- Source:
Returns:
-
Type
-
void
onClose()
Remove the child editor before rendering or closing
- Source:
remove()
- Source:
Render shared fields and the imagery editor when supported.
- Source:
Returns:
This view
-
Type
-
MapAssetEditorView
showValidation(fieldopt)
Show source errors in the imagery editor, if present.
Parameters:
| Name |
Type |
Attributes |
Description |
field |
string
|
<optional>
|
The source field to check |
- Source:
template() → {string}
Build the Label and Description controls.
- Source:
Returns:
Markup containing no model-supplied values
-
Type
-
string
updateModel(event)
Update the asset's Label or Description.
Parameters:
| Name |
Type |
Description |
event |
Event
|
The changed field |
- Source: