app
Functions
getName()
Gets the application name.
Returns
Promise
<string
>
Example
Since
1.0.0
Source: https://github.com/tauri-apps/tauri/blob/dev/tooling/api/src/app.ts#L37
getTauriVersion()
Gets the Tauri version.
Returns
Promise
<string
>
Example
Since
1.0.0
Source: https://github.com/tauri-apps/tauri/blob/dev/tooling/api/src/app.ts#L52
getVersion()
Gets the application version.
Returns
Promise
<string
>
Example
Since
1.0.0
Source: https://github.com/tauri-apps/tauri/blob/dev/tooling/api/src/app.ts#L23
hide()
Hides the application on macOS.
Returns
Promise
<void
>
Example
Since
1.2.0
Source: https://github.com/tauri-apps/tauri/blob/dev/tooling/api/src/app.ts#L82
show()
Shows the application on macOS. This function does not automatically focus any specific app window.
Returns
Promise
<void
>
Example
Since
1.2.0
Source: https://github.com/tauri-apps/tauri/blob/dev/tooling/api/src/app.ts#L67
© 2024 Tauri Contributors. CC-BY / MIT