Function · Desktop Services
openExternal
Opens a URI or file with the operating system's default application.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Signature
TypeScript
openExternal(target: string): Promise<void>Parameters
| Name | Type | Description |
|---|---|---|
target | string | URI or file path to open. |
Returns
Promise<void> — A promise completed after the native open request is submitted.
Source
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1463 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.