Class: FilterGroupView

FilterGroupView()

Renders a display of a group of filters

Constructor

new FilterGroupView()

Source:

Extends

  • Backbone.View

Members

collapsible :boolean

If set to true, then all filters within this group will be collapsible. See FilterView#collapsible
Type:
  • boolean
Since:
  • 2.25.0
Default Value:
  • false
Source:

edit :boolean

Set to true to render this view as a FilterGroup editor; allow the user to add, delete, and edit filters within this group.
Type:
  • boolean
Since:
  • 2.17.0
Source:

editorView :PortalEditorView

A reference to the PortalEditorView
Type:
Source:

model :FilterGroup

A FilterGroup model to be rendered in this view
Type:
Source:

Methods

areAllFieldsSemantic(fields) → {boolean}

Helper function to check whether or not a set of query field names are all semantic fields. Checks the array "fields"
Parameters:
Name Type Description
fields Array.<string> The list of query fields to check
Source:
Returns:
Whether or not all members of fields are semantic. Returns true only when fields and AppModel.querySemanticFields are non-zero in length and all values of fields are present in AppModel.querySemanticFields.
Type
boolean

postRender()

Actions to perform after the render() function has completed and this view's element is added to the webpage.
Source: