CustomWindowConfig

Config used to open a Custom Window

TypeScript
export interface

Properties

PropertyDescription
frameworkComponentReact, Angular or Vue Framework component to use for Custom Window content
iconIcon to display in Custom Window header
idUnique identifier for Custom Window
onFrameworkComponentDestroyedCallback function invoked when framework component is destroyed
positionPosition of window in pixels (provided as x, y)
renderRender function to display content in Custom Window (if not using a framework component)
sizeSize of window in pixels (provided as width, height)
titleTitle of Custom Window

Property Details

frameworkComponent

React, Angular or Vue Framework component to use for Custom Window content

TypeScript
frameworkComponent?: AdaptableFrameworkComponent;
Property Value

AdaptableFrameworkComponent

icon

Icon to display in Custom Window header

TypeScript
icon?: AdaptableSystemIconName;
Property Value

AdaptableSystemIconName

id

Unique identifier for Custom Window

TypeScript
id: string;
Property Value

string

onFrameworkComponentDestroyed

Callback function invoked when framework component is destroyed

TypeScript
onFrameworkComponentDestroyed?: () => void;
Property Value

() => void

position

Position of window in pixels (provided as x, y)

TypeScript
position?: WindowPosition;
Property Value

WindowPosition

render

Render function to display content in Custom Window (if not using a framework component)

TypeScript
render?: (customRenderContext: CustomRenderContext) => string | null;
Property Value

(customRenderContext:CustomRenderContext) => string | null

size

Size of window in pixels (provided as width, height)

TypeScript
size?: WindowSize;
Property Value

WindowSize

title

Title of Custom Window

TypeScript
title?: string;
Property Value

string