ExpressionEditorButton
A function/operator chip shown above the Expression Editor textarea.
TypeScript
export interfaceProperties
| Property | Type | Description |
|---|---|---|
| data | string | Text inserted into the editor when the chip is clicked |
| functionName | string | Registered Expression Function name. When set, the chip is only shown if that function exists in the editor's function map. Omit for plain-text inserts (e.g. "INCREASE" / "DECREASE"). |
| icon | string | Optional icon name (when set, typically shown instead of text) |
| newRowAfter | boolean | When true, starts a new toolbar row after this chip |
| text | string | Optional label shown on the chip |
Property Details
data
Text inserted into the editor when the chip is clicked
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's function map. Omit for plain-text
inserts (e.g. "INCREASE" / "DECREASE").
TypeScript
functionName?: string;Property Value
string
icon
Optional icon name (when set, typically shown instead of text)
TypeScript
icon?: string;Property Value
string
newRowAfter
When true, starts a new toolbar row after this chip
TypeScript
newRowAfter?: boolean;Property Value
boolean
text
Optional label shown on the chip
TypeScript
text?: string;Property Value
string