Amr Bashir 62dafda652 refactor!(global-shortcut): better APIs DX (#969)
* feat(global-shortcut): add `GlobalShortcutExt::register_with_handler`

ref: https://github.com/tauri-apps/plugins-workspace/issues/965

* clippy

* refactor apis to take closure by default

* change file

* Update .changes/global-shortcut-refactor.md

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>

* Update global-shortcut-refactor.md

* use option instead

* clippy

* update readme

* on_shortcut and with_shortcut

* map handler

* simplify events

* lint

---------

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-07 13:33:44 -03:00
2024-02-21 13:39:40 -03:00
2024-03-07 00:24:51 -03:00
2022-12-14 18:54:05 +01:00
2022-12-14 18:54:05 +01:00
2022-12-14 18:54:05 +01:00
2024-03-07 00:24:51 -03:00

Plugins Found Here

Win Mac Lin iOS And
authenticator Interface with hardware security keys. ? ?
autostart Automatically launch your app at system startup. ? ?
barcode-scanner Allows your mobile application to use the camera to scan QR codes, EAN-13 and other kinds of barcodes. ? ? ?
biometric Prompt the user for biometric authentication on Android and iOS. ? ? ?
cli Parse arguments from your Command Line Interface ? ?
clipboard-manager Read and write to the system clipboard.
deep-link Set your Tauri application as the default handler for an URL. ? ? ?
dialog Native system dialogs for opening and saving files along with message dialogs.
fs Access the file system. ? ?
global-shortcut Register global shortcuts. ? ?
http Access the HTTP client written in Rust.
localhost Use a localhost server in production apps. ? ?
log Configurable logging.
nfc Read and write NFC tags on Android and iOS. ? ? ?
notification Send message notifications (brief auto-expiring OS window element) to your user. Can also be used with the Notification Web API.
os Read information about the operating system.
persisted-scope Persist runtime scope changes on the filesystem. ? ?
positioner Move windows to common locations. ? ?
process This plugin provides APIs to access the current process. To spawn child processes, see the shell plugin. ? ?
shell Access the system shell. Allows you to spawn child processes and manage files and URLs using their default application. ? ?
single-instance Ensure a single instance of your tauri app is running. ? ? ?
sql Interface with SQL databases. ? ?
store Persistent key value storage.
stronghold Encrypted, secure database. ? ?
updater In-app updates for Tauri applications. ? ?
upload Tauri plugin for file uploads through HTTP. ? ?
websocket Open a WebSocket connection using a Rust client in JS. ? ?
window-state Persist window sizes and positions. ? ?

This repo and all plugins require a Rust version of at least 1.75

Partners

CrabNebula

For the complete list of sponsors please visit our website and Open Collective.

S
Description
No description provided
Readme 38 MiB
Languages
Rust 61.1%
TypeScript 14.9%
Kotlin 13.3%
Swift 8.2%
JavaScript 1.4%
Other 1%