ebs.generateHtmlWidgetAsync

(FintechOS Studio 21.1.4 and later)

Asynchronously inserts a widget in an HTML element. The result of the operation is returned in a promise object.

Syntax

Copy
function ebs.generateHtmlWidgetAsync(widgetName: string, element: any, options: IGenerateWidgetOptions): Promise<void>;
 
Parameter Type Description
widgetName string Name of the widget you wish to insert. For more information about HTML widgets, see the FintechOS Studio User Guide.
element any HTML element where the widget will be inserted.
options IGenerateWidgetOptions Options for how the widget will be rendered and for passing input to the widget's code.

Response

Returns a void promise object, allowing you to associate handlers in case of success or failure.

Type Aliases

Examples