c2r0b / tauri-plugin-context-menu

Native Context Menu in Tauri
https://crates.io/crates/tauri-plugin-context-menu
MIT License
118 stars 6 forks source link

Add TypeScript API package #4

Closed HuakunShen closed 11 months ago

HuakunShen commented 1 year ago

Can you add a TypeScript API wrapper? Like https://github.com/CrossCopy/tauri-plugin-clipboard/blob/main/webview-src/index.ts

c2r0b commented 1 year ago

That is in the plans, I will start working on that shortly

c2r0b commented 11 months ago

The TypeScript API wrapper is now available on npm as tauri-plugin-context-menu 🎉 (#5)

Usage info in the README file. Source code here.

HuakunShen commented 11 months ago

@c2r0b Thank you!