query

  • Common Properties for properties shared with other components.

  • fields to specify the fields to display in the Range Slider.

Specifies the data block to be used by the Range Slider component. The available data blocks appear at the top of the Toolbox panel in Visual Composer.

dataBlocks 3

Type

String

Example

RangeSlider1.query = 'Sales';
RangeSlider1.fields = ['Date'];
RangeSlider1.composite = false;
RangeSlider1.rangeType = StyleConstant.DATE;

Either syntax below can be used in component script:

query                  // unqualified
RangeSlider1.query     // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.