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