Class: SelectedValuesCollection

selected-values-collection~ SelectedValuesCollection

new SelectedValuesCollection()

Collection designed to be the only mutable store for the selected parametric values in an application. Every model
should have string "field" and "value" attributes.

The Backbone.Collection.modelId method is used to ensure that models with different field and value are considered
unique, without having to specify an id on each model explicitly.

Source:

Extends

  • Backbone.View

Methods

toFieldsAndValues() → {Object.<string, SelectedValuesCollection.FieldData>}

Returns a map of field name to list of field values.

Source:
Returns:
Type
Object.<string, SelectedValuesCollection.FieldData>

toFieldTextNode() → {parser.ExpressionNode}

Create a field text node from this collection. Returns null if the collection is empty.

Source:
Returns:
Type
parser.ExpressionNode

Type Definitions

FieldData

Properties:
Name Type Description
values Array.<String>

The values of the field

type String

Parametric/Numeric/NumericDate

Source:

SelectedValueAttributes

The attributes on each model in a SelectedValuesCollection.

Properties:
Name Type Description
field string

The parametric field name

value string

The parametric field value

type String

Parametric/Numeric/NumericDate

Source:
Copyright 2015-2017 Hewlett Packard Enterprise Development Company, L.P. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
Documentation generated by JSDoc 3.4.0 on Thu May 25th 16:25 2017 using the DocStrap template.