Add
pentaho.type.action Add
The Add
class describes the primitive operation of adding a new element to a list at a given index.
This type of change is always part of a pentaho.type.action.ListChangeset
.
AMD Module
require(["pentaho/type/action/Add"], function(Add) { /* code goes here */ });
Extends
Constructor
Name | Description |
---|---|
new Add(elem, index) | Creates an instance. |
Methods
Name | Description |
---|---|
_apply() | |
_cancel() | |
_prepare() |
Constructor Details
new Add(elem, index) | |||||||||
---|---|---|---|---|---|---|---|---|---|
Creates an instance. Source: javascript/web/pentaho/type/action/Add.js, line 45
|
Members Details
id: Static |
---|
type: string |
---|
Gets the type of change. Source: javascript/web/pentaho/type/action/Add.js, line 73 Default Value: "add" See also: pentaho.type.action.Change#type |
Methods Details
_apply() |
---|
_cancel() |
---|
_prepare() |
---|