Skip to main content

Interface: FmcScratchpadOptions

Defined in: src/sdk/fmc/FmcScratchpad.ts:8

Options for FmcScratchpad

Properties

cellWidth

cellWidth: number

Defined in: src/sdk/fmc/FmcScratchpad.ts:13

Cell width of the scratchpad on the screen


clearScratchpadOnError?

optional clearScratchpadOnError: boolean

Defined in: src/sdk/fmc/FmcScratchpad.ts:28

Whether other scratchpad contents are cleared when an error is set. Defaults to false.


deleteText?

optional deleteText: string

Defined in: src/sdk/fmc/FmcScratchpad.ts:19

Text to show for the DELETE state. Defaults to "DELETE".


errorTextCentered?

optional errorTextCentered: boolean

Defined in: src/sdk/fmc/FmcScratchpad.ts:25

Whether error text is centered. Defaults to false.


renderRow

renderRow: number

Defined in: src/sdk/fmc/FmcScratchpad.ts:10

The row at which to render the scratchpad. -1 signifies the last row.


style?

optional style: string

Defined in: src/sdk/fmc/FmcScratchpad.ts:16

Style to apply to the text. Defaults to white.


surroundingText?

optional surroundingText: readonly [string, string]

Defined in: src/sdk/fmc/FmcScratchpad.ts:22

Defines surrounding text [left, right] around the contents. Defaults to none.