drag(拖曳檔案)
實現原生系統檔案拖放功能。
方法
startDrag(filePaths)
顯示通知視窗
filePaths
string[] - 欲拖曳檔案路徑返回
Promise<>
await eagle.drag.startDrag([
"C:\\Users\\User\\Pictures\\drag1.jpg",
"C:\\Users\\User\\Pictures\\drag2.jpg",
]);
Last updated