<abstract> new CustomHtmlWidgetControl(options)
Text widget control.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Options.
Properties
|
Returns:
- Type
- void
Extends
- Backbone.View
Members
-
events :Object
-
View events.
Type:
- Object
Methods
-
initializeEditor()
-
Initialize editor.
Returns:
- Type
- void
-
updateErrorNotice(errorAnnotations)
-
Show linting error notice.
Parameters:
Name Type Description errorAnnotations
Array Error annotations. Returns:
- Type
- void
-
updateFields()
-
Update input fields from the sync fields. This function is called at the widget-updated and widget-synced events. A field will only be updated if it is not currently focused, to avoid overwriting content that the user is entering.
Returns:
- Type
- void