Class: CustomHtmlWidgetControl

CustomHtmlWidgetControl


<abstract> new CustomHtmlWidgetControl(options)

Text widget control.
Parameters:
Name Type Description
options Object Options.
Properties
Name Type Description
el jQuery Control field container element.
syncContainer jQuery Container element where fields are synced for the server.
Source:
Returns:
Type
void

Extends

  • Backbone.View

Members


events :Object

View events.
Type:
  • Object
Source:

Methods


initializeEditor()

Initialize editor.
Source:
Returns:
Type
void

updateErrorNotice(errorAnnotations)

Show linting error notice.
Parameters:
Name Type Description
errorAnnotations Array Error annotations.
Source:
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.
Source:
Returns:
Type
void