Skip to main content

LifecycleDependencies

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / main/runtime/setupMainLifecycle / LifecycleDependencies

Interface: LifecycleDependencies

Defined in: main/runtime/setupMainLifecycle.js:20

Properties​

appRef()​

appRef: () => AppLike | undefined

Defined in: main/runtime/setupMainLifecycle.js:21

Returns​

AppLike | undefined


browserWindowRef()​

browserWindowRef: () => { getAllWindows?: () => WindowLike[]; } | undefined

Defined in: main/runtime/setupMainLifecycle.js:22

Returns​

{ getAllWindows?: () => WindowLike[]; } | undefined


getAppState()​

getAppState: (key: string) => unknown

Defined in: main/runtime/setupMainLifecycle.js:23

Parameters​

key​

string

Returns​

unknown


initializeApplication()​

initializeApplication: () => WindowLike | Promise<WindowLike | undefined> | undefined

Defined in: main/runtime/setupMainLifecycle.js:24

Returns​

WindowLike | Promise<WindowLike | undefined> | undefined


setupApplicationEventHandlers()​

setupApplicationEventHandlers: () => void

Defined in: main/runtime/setupMainLifecycle.js:25

Returns​

void


setupIPCHandlers()​

setupIPCHandlers: (win: WindowLike | undefined) => void

Defined in: main/runtime/setupMainLifecycle.js:26

Parameters​

win​

WindowLike | undefined

Returns​

void


setupMenuAndEventHandlers()​

setupMenuAndEventHandlers: () => void

Defined in: main/runtime/setupMainLifecycle.js:27

Returns​

void


exposeDevHelpers()​

exposeDevHelpers: () => void

Defined in: main/runtime/setupMainLifecycle.js:28

Returns​

void


logWithContext()​

logWithContext: (level: string, message: string, context?: Record<string, unknown>) => void

Defined in: main/runtime/setupMainLifecycle.js:29

Parameters​

level​

string

message​

string

context?​

Record<string, unknown>

Returns​

void