# ExpressionEditorButton

Canonical page: https://www.adaptabletools.com/docs/reference/expressioneditorbutton

A function/operator chip shown above the Expression Editor textarea.

```ts title="TypeScript"
export interface ExpressionEditorButton 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [data](https://www.adaptabletools.com/docs/reference/expressioneditorbutton.md#data) | `string` | Text inserted into the editor when the chip is clicked |
| [functionName](https://www.adaptabletools.com/docs/reference/expressioneditorbutton.md#functionname) | `string` | Registered Expression Function name. When set, the chip is only shown if<br/>that function exists in the editor&#39;s function map. Omit for plain-text<br/>inserts (e.g. `"INCREASE"` / `"DECREASE"`). |
| [icon](https://www.adaptabletools.com/docs/reference/expressioneditorbutton.md#icon) | `string` | Optional icon name (when set, typically shown instead of `text`) |
| [newRowAfter](https://www.adaptabletools.com/docs/reference/expressioneditorbutton.md#newrowafter) | `boolean` | When true, starts a new toolbar row after this chip |
| [text](https://www.adaptabletools.com/docs/reference/expressioneditorbutton.md#text) | `string` | Optional label shown on the chip |

## Property Details

### data

Text inserted into the editor when the chip is clicked

```ts title="TypeScript"
data: string;
```

###### Property Value

`string`

### functionName

Registered Expression Function name. When set, the chip is only shown if
that function exists in the editor&#39;s function map. Omit for plain-text
inserts (e.g. `"INCREASE"` / `"DECREASE"`).

```ts title="TypeScript"
functionName?: string;
```

###### Property Value

`string`

### icon

Optional icon name (when set, typically shown instead of `text`)

```ts title="TypeScript"
icon?: string;
```

###### Property Value

`string`

### newRowAfter

When true, starts a new toolbar row after this chip

```ts title="TypeScript"
newRowAfter?: boolean;
```

###### Property Value

`boolean`

### text

Optional label shown on the chip

```ts title="TypeScript"
text?: string;
```

###### Property Value

`string`
