CrossCopy / tauri-plugin-clipboard

A Tauri clipboard plugin with text, files, html, RTF, and image support. Clipboard content update monitoring is also supported.
https://crosscopy.github.io/tauri-plugin-clipboard/
MIT License
122 stars 6 forks source link

hasFiles seems to have been removed in the new version of the API, and the demo has not been updated yet. #27

Closed Tester-957 closed 2 months ago

Tester-957 commented 2 months ago

Is there an alternative? image

HuakunShen commented 2 months ago

Are you on the latest commit? hasFiles is there. https://github.com/CrossCopy/tauri-plugin-clipboard/blob/fd54d564b8e163cc035e4ee196eeb82458cc1a01/webview-dist/api.d.ts#L51

Tester-957 commented 2 months ago

Are you on the latest commit? hasFiles is there.

https://github.com/CrossCopy/tauri-plugin-clipboard/blob/fd54d564b8e163cc035e4ee196eeb82458cc1a01/webview-dist/api.d.ts#L51

Sorry, my bad, I need to clean node_modules and reinstall