> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pba-ctools/pentaho-cdf-api/components/basecomponent.md).

# BaseComponent

## cdf.components. BaseComponent

The BaseComponent. Module which holds everything related to components.

**AMD Module**

```
require(["cdf/components/BaseComponent"], function(BaseComponent) { /* code goes here */ });
```

## Extends

* Base
* Backbone.Events

## Constructor

| Name                                                                                                                                                            | Description                                               |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
| [new BaseComponent(properties)](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#.BaseComponent) | Holds the core functionalities present in all components. |

## Members

| Name                                                                                                                                                                                                                                                                 | Description                                                            |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| [elapsedSinceSplit](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#elapsedSinceSplit): `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`Protected  | Number of milliseconds since the timer split.                          |
| [elapsedSinceStart](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#elapsedSinceStart): `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`Protected  | Number of milliseconds since the timer start.                          |
| [htmlObject](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#htmlObject): `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`Protected                | HTML element identifier where the component is rendered.               |
| [initInstance](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#initInstance): `[Number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)`Deprecated Protected | The Dashboard instance to which the component belongs.                 |
| [isDisposed](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#isDisposed): `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`Protected              | The component is in a disposed state.                                  |
| [isManaged](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#isManaged): `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`Protected                | Managed flag.                                                          |
| [logColor](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#logColor): `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`Protected                    | Color to use while logging messages.                                   |
| [name](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#name): `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`Protected                            | Name of the component.                                                 |
| [postChange](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#postChange): `[function](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function)`                     | Function to be executed after the components parameter value changes.  |
| [preChange](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#preChange): `[function](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function)`                       | Function to be executed before the components parameter value changes. |
| [timerSplit](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#timerSplit): `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`Protected                | Start date for the timer split.                                        |
| [timerStart](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#timerStart): `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`Protected                | Start date for the timer start.                                        |
| [type](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#type): `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`Protected                            | Type of the component.                                                 |
| [visible](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#visible): `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`Protected                    | Visibility flag.                                                       |

## Methods

| Name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | Description                                                                                             |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| [\_disposeCore()](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#_disposeCore)Protected                                                                                                                                                                                                                                                                                                                                                  | Override this to (irreversibly) dispose of any resources which are not disposed of when simply removed. |
| [\_throwIfDisposed()](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#_throwIfDisposed)Protected                                                                                                                                                                                                                                                                                                                                          | Throws an error if the Dashboard is already disposed.                                                   |
| [\_unlink()](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#_unlink)Protected                                                                                                                                                                                                                                                                                                                                                            | Un-links the component without releasing the resources.                                                 |
| [clear()](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#clear)                                                                                                                                                                                                                                                                                                                                                                          | Clears the component HTML element.                                                                      |
| [clone(parameterRemap, componentRemap, htmlRemap)](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#clone): `[cdf.components.BaseComponent](https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/cdf.components.BaseComponent)` | Clones a component.                                                                                     |
| [copyEvents(target, events)](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#copyEvents)                                                                                                                                                                                                                                                                                                                                                  | General copy events methods.                                                                            |
| [dispose()](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#dispose)                                                                                                                                                                                                                                                                                                                                                                      | Disposes this component, if it wasn't already disposed.                                                 |
| [focus()](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#focus)                                                                                                                                                                                                                                                                                                                                                                          | Focus the first placeholder DOM element on the component.                                               |
| [getAddIn(slot, addIn)](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#getAddIn): `[cdf.AddIn](https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/cdf.AddIn)`                                                               | Gets an add-in for this component.                                                                      |
| [getAddInOptions(slot, addIn)](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#getAddInOptions): `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`                                                                                                                                                                                                                                       | Gets an add-in option.                                                                                  |
| [getValuesArray()](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#getValuesArray): `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>`Deprecated                                                                                                                                       | Gets the values array property.                                                                         |
| [hasAddIn(slot, addIn)](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#hasAddIn): `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`                                                                                                                                                                                                                                                   | Returns `true` if the add-in with the provided subtype and name exists.                                 |
| [onWillRemove()](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#onWillRemove)                                                                                                                                                                                                                                                                                                                                                            | Prepares the component for removal.                                                                     |
| [parseArray(jData, includeHeader)](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#parseArray): `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>`Deprecated                                                                                                                           | Builds an array with the data received from the server in another format.                               |
| [parseArrayCda(jData, includeHeader)](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#parseArrayCda): `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>`Deprecated                                                                                                                     | Builds an array with the data received.                                                                 |
| [placeholder(selector)](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#placeholder): `[jQuery](http://api.jquery.com/Types/#jQuery)`                                                                                                                                                                                                                                                                                                     | Getter for the component's DOM element.                                                                 |
| [setAddInOptions(slot, addIn, options)](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#setAddInOptions)                                                                                                                                                                                                                                                                                                                                  | Sets the options for an add-in.                                                                         |

## Events

| Name                                                                                                                                   | Description                         |
| -------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [all](https://help.hitachivantara.com/Documentation/Pentaho/8.2/Developer_Center/CDF_API/cdf.components.BaseComponent#event:event:all) | Event triggered by any other event. |

## Constructor Details

| **new BaseComponent**(properties)                                                                                                                                                                                                      |               |                                                       |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | ----------------------------------------------------- |
| <p>Constructs a BaseComponent.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L170">components/BaseComponent.js, line 170</a></p> |               |                                                       |
| Name                                                                                                                                                                                                                                   | Default Value | Summary                                               |
| properties : `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`                                                                                                                        |               | Additional properties to be extended to the instance. |

| Name                                                                                                            | Default Value | Summary                                               |
| --------------------------------------------------------------------------------------------------------------- | ------------- | ----------------------------------------------------- |
| properties : `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)` |               | Additional properties to be extended to the instance. |

\## Members Details

| elapsedSinceSplit: `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`Protected                                                                                                                                                                 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Number of milliseconds since the timer split.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L98">components/BaseComponent.js, line 98</a></p><p><strong>Default Value:</strong>-1</p> |

| elapsedSinceStart: `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`Protected                                                                                                                                                                   |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p>Number of milliseconds since the timer start.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L108">components/BaseComponent.js, line 108</a></p><p><strong>Default Value:</strong>-1</p> |

| htmlObject: `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`Protected                                                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>The HTML element identifier, unique in the HTML page, where the component is rendered.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L46">components/BaseComponent.js, line 46</a></p> |

| initInstance: `[Number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)`Deprecated Protected                                                                                                                              |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>The Dashboard instance to which the component belongs.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L130">components/BaseComponent.js, line 130</a></p> |

| isDisposed: `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`Protected                                                                                                                                                          |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>The component is in a disposed state.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L128">components/BaseComponent.js, line 128</a></p><p>\*\*Default Value:\*\*false</p> |

| isManaged: `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`Protected                                                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Managed flag.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L66">components/BaseComponent.js, line 66</a></p><p>\*\*Default Value:\*\*true</p> |

| logColor: `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`Protected                                                                                                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Color to use while logging messages.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L118">components/BaseComponent.js, line 118</a></p><p>\*\*Default Value:\*\*undefined</p> |

| name: `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`Protected                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p>The name of the component. Its name needs to be unique in the dashboard to which they belong.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L30">components/BaseComponent.js, line 30</a></p> |

| postChange: `[function](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function)`                                                                                                                                                               |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Function to be executed after the components parameter value changes.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L150">components/BaseComponent.js, line 150</a></p> |

| preChange: `[function](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function)`                                                                                                                                                                 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Function to be executed before the components parameter value changes.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L141">components/BaseComponent.js, line 141</a></p> |

| timerSplit: `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`Protected                                                                                                                                                |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Start date for the timer split.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L88">components/BaseComponent.js, line 88</a></p><p>\*\*Default Value:\*\*0</p> |

| timerStart: `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`Protected                                                                                                                                                |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Start date for the timer start.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L78">components/BaseComponent.js, line 78</a></p><p>\*\*Default Value:\*\*0</p> |

| type: `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`Protected                                                                                                                                                            |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>The type of the component, usually the class name of the component.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L38">components/BaseComponent.js, line 38</a></p> |

| visible: `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`Protected                                                                                                                                     |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Visibility flag.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L56">components/BaseComponent.js, line 56</a></p><p>\*\*Default Value:\*\*true</p> |

\## Methods Details

| **\_disposeCore**()Protected                                                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p>Override this to (irreversibly) dispose of any resources which are not disposed of when simply removed.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L574">components/BaseComponent.js, line 574</a></p> |

| **\_throwIfDisposed**()Protected                                                                                                                                                                                                                                 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Throws an error if the Dashboard is already disposed.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L582">components/BaseComponent.js, line 582</a></p> |

| **\_unlink**()Protected                                                                                                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p>Un-links the component without releasing the resources.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L561">components/BaseComponent.js, line 561</a></p> |

| **clear**()                                                                                                                                                                                                                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Clears the component HTML element.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L214">components/BaseComponent.js, line 214</a></p> |

| **clone**(parameterRemap, componentRemap, htmlRemap) : `[cdf.components.BaseComponent](https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/cdf.components.BaseComponent)` |                       |                                       |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------- |
| <p>Clones a component.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L245">components/BaseComponent.js, line 245</a></p>                                                                                                                                                        |                       |                                       |
| Name                                                                                                                                                                                                                                                                                                                                                                                  | Default Value         | Summary                               |
| parameterRemap : `[Object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)`                                                                                                                                                                                                                                                                   |                       | Map containing parameter remapping.   |
| componentRemap : `[Object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)`                                                                                                                                                                                                                                                                   |                       | Map containing component remapping.   |
| htmlRemap : `[Object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)`                                                                                                                                                                                                                                                                        |                       | Map containing DOM element remapping. |
| Name                                                                                                                                                                                                                                                                                                                                                                                  | Description           |                                       |
| `[cdf.components.BaseComponent](https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/cdf.components.BaseComponent)`                                                        | The cloned component. |                                       |

| Name                                                                                                                                                                                                                                                                                                                           | Description           |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------- |
| `[cdf.components.BaseComponent](https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/cdf.components.BaseComponent)` | The cloned component. |

| Name                                                                                                                | Default Value | Summary                               |
| ------------------------------------------------------------------------------------------------------------------- | ------------- | ------------------------------------- |
| parameterRemap : `[Object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)` |               | Map containing parameter remapping.   |
| componentRemap : `[Object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)` |               | Map containing component remapping.   |
| htmlRemap : `[Object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)`      |               | Map containing DOM element remapping. |

| **copyEvents**(target, events)                                                                                                                                                                                                                                                                                                                   |               |                                                                |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------- | -------------------------------------------------------------- |
| <p>General copy events methods. Given a target component and an event list, adds the component as a listener for all events in the list.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L226">components/BaseComponent.js, line 226</a></p> |               |                                                                |
| Name                                                                                                                                                                                                                                                                                                                                             | Default Value | Summary                                                        |
| target : `[cdf.components.BaseComponent](https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/cdf.components.BaseComponent)`          |               | The target component object.                                   |
| events : `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[Backbone.Events](http://backbonejs.org/#Events)`>`                                                                                                                                                                                   |               | [Backbone.Events](http://backbonejs.org/#Events) list to copy. |

| Name                                                                                                                                                                                                                                                                                                                                    | Default Value | Summary                                                        |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------------------------------------------------------------- |
| target : `[cdf.components.BaseComponent](https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/cdf.components.BaseComponent)` |               | The target component object.                                   |
| events : `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[Backbone.Events](http://backbonejs.org/#Events)`>`                                                                                                                                                                          |               | [Backbone.Events](http://backbonejs.org/#Events) list to copy. |

| **dispose**()                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p>Disposes this component, if it wasn't already disposed.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L531">components/BaseComponent.js, line 531</a></p> |

| **focus**()                                                                                                                                                                                                                                                          |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Focus the first placeholder DOM element on the component.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L190">components/BaseComponent.js, line 190</a></p> |

| **getAddIn**(slot, addIn) : `[cdf.AddIn](https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/cdf.AddIn)` |                                                        |                 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ | --------------- |
| <p>Gets an add-in for this component.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L306">components/BaseComponent.js, line 306</a></p>                                                                        |                                                        |                 |
| Name                                                                                                                                                                                                                                                                                                                 | Default Value                                          | Summary         |
| slot : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                                                                                                                            |                                                        | Add-in subtype. |
| addIn : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                                                                                                                           |                                                        | Add-in name.    |
| Name                                                                                                                                                                                                                                                                                                                 | Description                                            |                 |
| `[cdf.AddIn](https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/cdf.AddIn)`                             | Add-in registered with the specified name and subtype. |                 |

| Name                                                                                                                                                                                                                                                                                     | Description                                            |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| `[cdf.AddIn](https://help.hitachivantara.com/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/Documentation/Pentaho/Data_Integration_and_Analytics/10.0/Developer_center/Welcome_to_the_CDF_API_Documentation/cdf.AddIn)` | Add-in registered with the specified name and subtype. |

| Name                                                                                                       | Default Value | Summary         |
| ---------------------------------------------------------------------------------------------------------- | ------------- | --------------- |
| slot : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`  |               | Add-in subtype. |
| addIn : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)` |               | Add-in name.    |

| **getAddInOptions**(slot, addIn) : `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`                                                                                             |                                                   |                     |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- | ------------------- |
| <p>Gets an add-in option.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L516">components/BaseComponent.js, line 516</a></p> |                                                   |                     |
| Name                                                                                                                                                                                                                              | Default Value                                     | Summary             |
| slot : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                                         |                                                   | The add-in subtype. |
| addIn : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                                        |                                                   | The add-in name.    |
| Name                                                                                                                                                                                                                              | Description                                       |                     |
| `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`                                                                                                                                | The options associated with the specified add-in. |                     |

| Name                                                                                               | Description                                       |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
| `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)` | The options associated with the specified add-in. |

| Name                                                                                                       | Default Value | Summary             |
| ---------------------------------------------------------------------------------------------------------- | ------------- | ------------------- |
| slot : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`  |               | The add-in subtype. |
| addIn : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)` |               | The add-in name.    |

| **getValuesArray**() : `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>`Deprecated                                                                            |                                                                                            |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| <p>Gets the values array property, if one is defined. Otherwise, issues a call to the server to get data.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L340">components/BaseComponent.js, line 340</a></p> |                                                                                            |
| Name                                                                                                                                                                                                                                                                                                              | Description                                                                                |
| `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>`                                                                                                             | An array with values from the values array property or the data retrieved from the server. |

| Name                                                                                                                                                                                                  | Description                                                                                |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>` | An array with values from the values array property or the data retrieved from the server. |

| **hasAddIn**(slot, addIn) : `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`                                                                                                                                                              |                                                 |                 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- | --------------- |
| <p>Returns <code>true</code> if the add-in with the provided subtype and name exists.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L323">components/BaseComponent.js, line 323</a></p> |                                                 |                 |
| Name                                                                                                                                                                                                                                                                                          | Default Value                                   | Summary         |
| slot : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                                                                                                     |                                                 | Add-in subtype. |
| addIn : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                                                                                                    |                                                 | Add-in name.    |
| Name                                                                                                                                                                                                                                                                                          | Description                                     |                 |
| `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`                                                                                                                                                                                          | `true` if the add-in exists, `false` otherwise. |                 |

| Name                                                                                                 | Description                                     |
| ---------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)` | `true` if the add-in exists, `false` otherwise. |

| Name                                                                                                       | Default Value | Summary         |
| ---------------------------------------------------------------------------------------------------------- | ------------- | --------------- |
| slot : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`  |               | Add-in subtype. |
| addIn : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)` |               | Add-in name.    |

| **onWillRemove**()                                                                                                                                                                                                                             |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Prepares the component for removal.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L552">components/BaseComponent.js, line 552</a></p> |

| **parseArray**(jData, includeHeader) : `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>`Deprecated                               |               |                                                                              |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------- | ---------------------------------------------------------------------------- |
| <p>Builds an array with the data received from the server in another format.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L414">components/BaseComponent.js, line 414</a></p> |               |                                                                              |
| Name                                                                                                                                                                                                                                                                                 | Default Value | Summary                                                                      |
| jData : `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`                                                                                                                                                                           |               | Data object (Xaction or CDA) resulting from a call to the server.            |
| includeHeader : `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`                                                                                                                                                                 |               | A boolean indicating whether the resulting array should include the headers. |
| Name                                                                                                                                                                                                                                                                                 | Description   |                                                                              |
| `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>`                                                                                | /p            |                                                                              |

| Name                                                                                                                                                                                                  | Description |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>` | /p          |

| Name                                                                                                                 | Default Value | Summary                                                                      |
| -------------------------------------------------------------------------------------------------------------------- | ------------- | ---------------------------------------------------------------------------- |
| jData : `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`           |               | Data object (Xaction or CDA) resulting from a call to the server.            |
| includeHeader : `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)` |               | A boolean indicating whether the resulting array should include the headers. |

| **parseArrayCda**(jData, includeHeader) : `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>`Deprecated                        |                                         |                                                                              |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- | ---------------------------------------------------------------------------- |
| <p>Builds an array with the data received from the server in CDA format.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L457">components/BaseComponent.js, line 457</a></p> |                                         |                                                                              |
| Name                                                                                                                                                                                                                                                                             | Default Value                           | Summary                                                                      |
| jData : `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`                                                                                                                                                                       |                                         | Data object (CDA format) resulting from a call to the server.                |
| includeHeader : `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)`                                                                                                                                                             |                                         | A boolean indicating whether the resulting array should include the headers. |
| Name                                                                                                                                                                                                                                                                             | Description                             |                                                                              |
| `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>`                                                                            | The built data array in the CDA format. |                                                                              |

| Name                                                                                                                                                                                                  | Description                             |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
| `[Array](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).<`[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`>` | The built data array in the CDA format. |

| Name                                                                                                                 | Default Value | Summary                                                                      |
| -------------------------------------------------------------------------------------------------------------------- | ------------- | ---------------------------------------------------------------------------- |
| jData : `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`           |               | Data object (CDA format) resulting from a call to the server.                |
| includeHeader : `[boolean](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean)` |               | A boolean indicating whether the resulting array should include the headers. |

| **placeholder**(selector) : `[jQuery](http://api.jquery.com/Types/#jQuery)`                                                                                                                                                                                                                                   |                                                                |                                                     |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | --------------------------------------------------- |
| <p>Getter for the component's DOM element. Returns the jQuery <code>object</code> that represents it.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L181">components/BaseComponent.js, line 181</a></p> |                                                                |                                                     |
| Name                                                                                                                                                                                                                                                                                                          | Default Value                                                  | Summary                                             |
| selector : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                                                                                                                 |                                                                | Optional `string` to append to the jQuery selector. |
| Name                                                                                                                                                                                                                                                                                                          | Description                                                    |                                                     |
| `[jQuery](http://api.jquery.com/Types/#jQuery)`                                                                                                                                                                                                                                                               | The matched DOM element or a new element if no match is found. |                                                     |

| Name                                            | Description                                                    |
| ----------------------------------------------- | -------------------------------------------------------------- |
| `[jQuery](http://api.jquery.com/Types/#jQuery)` | The matched DOM element or a new element if no match is found. |

| Name                                                                                                          | Default Value | Summary                                             |
| ------------------------------------------------------------------------------------------------------------- | ------------- | --------------------------------------------------- |
| selector : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)` |               | Optional `string` to append to the jQuery selector. |

| **setAddInOptions**(slot, addIn, options)                                                                                                                                                                                                  |               |                                    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------- | ---------------------------------- |
| <p>Sets the options for an add-in.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L497">components/BaseComponent.js, line 497</a></p> |               |                                    |
| Name                                                                                                                                                                                                                                       | Default Value | Summary                            |
| slot : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                                                  |               | The add-in subtype.                |
| addIn : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                                                 |               | The add-in name.                   |
| options : `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`                                                                                                                               |               | An object with the options to use. |

| Name                                                                                                         | Default Value | Summary                            |
| ------------------------------------------------------------------------------------------------------------ | ------------- | ---------------------------------- |
| slot : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`    |               | The add-in subtype.                |
| addIn : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`   |               | The add-in name.                   |
| options : `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)` |               | An object with the options to use. |

\## Events Details

| **all**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>The <a href="http://backbonejs.org/#Events-catalog"><code>all</code></a> event is a special event which will trigger the bound callbacks when any event occurs. This event is mainly used for logging purposes.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/_doc/events.jsdoc#L19">components/\_doc/events.jsdoc, line 19</a></p><p>\*\*See also:\*\*Backbone Events <a href="http://backbonejs.org/#Events-catalog">catalog</a>.</p> |

\## Type Definitions

| TimerInfo: `[object](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object)`Static                                                                                                              |               |                                           |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | ----------------------------------------- |
| <p>The TimerInfo object.</p><p><strong>Source:</strong><a href="https://github.com/webdetails/cdf/tree/8.2.0.0-R/core-js/src/main/javascript/cdf/components/BaseComponent.js#L636">components/BaseComponent.js, line 636</a></p> |               |                                           |
| Name                                                                                                                                                                                                                             | Default Value | Description                               |
| timerStart : `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`                                                                                                                  |               | The timer start date.                     |
| timerSplit : `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`                                                                                                                  |               | The timer split value.                    |
| elapsedSinceStart : `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`                                                                                                           |               | Number of milliseconds since timer start. |
| elapsedSinceStartDesc : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                       |               | The formatted time since timer start.     |
| elapsedSinceSplit : `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`                                                                                                           |               | Number of milliseconds since timer split. |
| elapsedSinceSplitDesc : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)`                                                                                                       |               | The formatted time since timer split.     |

| Name                                                                                                                       | Default Value | Description                               |
| -------------------------------------------------------------------------------------------------------------------------- | ------------- | ----------------------------------------- |
| timerStart : `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`            |               | The timer start date.                     |
| timerSplit : `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`            |               | The timer split value.                    |
| elapsedSinceStart : `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`     |               | Number of milliseconds since timer start. |
| elapsedSinceStartDesc : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)` |               | The formatted time since timer start.     |
| elapsedSinceSplit : `[number](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number)`     |               | Number of milliseconds since timer split. |
| elapsedSinceSplitDesc : `[string](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string)` |               | The formatted time since timer split.     |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pentaho.com/pba-ctools/pentaho-cdf-api/components/basecomponent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
