Skip to main content

Class: SimpleFmcRenderer

FMC Renderer class

Implements

Constructors

constructor

new SimpleFmcRenderer(eventBus, targetElement, options): SimpleFmcRenderer

Ctor

Parameters

NameTypeDescription
eventBusEventBusThe event bus.
targetElementHTMLDivElementThe target element of the renderer.
optionsSimpleFmcRendererOptionsThe options for the renderer.

Returns

SimpleFmcRenderer

Defined in

src/sdk/fmc/SimpleFmcRenderer.ts:44

Properties

options

Readonly options: SimpleFmcRendererOptions

The options for the renderer.

Implementation of

FmcRenderer.options

Defined in

src/sdk/fmc/SimpleFmcRenderer.ts:44


targetElement

Readonly targetElement: HTMLDivElement

The target element of the renderer.

Defined in

src/sdk/fmc/SimpleFmcRenderer.ts:44

Methods

editOutputTemplate

editOutputTemplate(output, rowIndex): void

Edits part of the row output

Parameters

NameTypeDescription
outputFmcOutputTemplatethe output to insert
rowIndexnumberthe row index to insert at

Returns

void

Throws

if rowIndex is too high

Implementation of

FmcRenderer.editOutputTemplate

Defined in

src/sdk/fmc/SimpleFmcRenderer.ts:87