Caplin Trader 5.1.0

Class: module:ct-presenter/sljs/SLJSContainerNodeListManagerContainerModel

module:ct-presenter/sljs/SLJSContainerNodeListManagerContainerModel(fieldNames, computedFields, fieldFormatters, presenterNodeList)

SLJS container model used by SLJSContainerNodeListManager.

Constructor

new module:ct-presenter/sljs/SLJSContainerNodeListManagerContainerModel(fieldNames, computedFields, fieldFormatters, presenterNodeList)

Parameters:
Name Type Description
fieldNames Array.<String>

An array of field names.

computedFields Object

A map of computed fields. Key is field name, value is the function that computes the field value.

fieldFormatters Object

A map of fieldName => Formatter

presenterNodeList module:br-presenter/node/NodeList

NodeList that this model manages.

Implements:
  • caplin.streamlink.ContainerModel

Methods

clear()

See:
  • caplin.streamlink.ContainerModel#clear

insert()

See:
  • caplin.streamlink.ContainerModel#insert

move()

See:
  • caplin.streamlink.ContainerModel#move

remove()

See:
  • caplin.streamlink.ContainerModel#remove