Interface · Application Lifecycle
DesktopApplicationOptions
Options used to create a desktop application.
@sharpts/gui · SharpTS 572a2e31be0eMembers
onUnhandledError
onUnhandledError?(error: unknown, window: DesktopWindow): voidHandles render, effect, native commit, and event-callback failures not caught elsewhere.
resources
resources?: Readonly<{ }>Named values available to window and control resource lookup.
Type: Readonly<{ }>
shutdownMode
shutdownMode?: DesktopShutdownModeCondition that ends the application message loop.
Default: "onLastWindowClose"
Type: DesktopShutdownMode
styles
styles?: readonly DesktopStyle[]Application-level native control styles.
Type: readonly DesktopStyle[]
Related symbols
Source
src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1029 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.