API Docs for: 1.0

Class StackEl

Class defined in: src/js/stackEl.js:18

The abstract superclass defining all elements of the model stack.

Number getType( )
src/js/stackEl.js:34

Get the type of this Stack Element.


Returns: <Number> The type. A value form model.enumType.
serialize( arr, htmlStyle. )
src/js/stackEl.js:43

Serializes the data of this stack element and appends the component(s) to the array given as parameter

Parameters:
  • arr <Array>

    The Array to which the data will be appended.

  • htmlStyle. <Boolean>

    If true, the serialization generates a html representation.

t <number (Value from model.enumType)>
src/js/stackEl.js:25

Type of StackElement