5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 21:31:39 +08:00
wails/v3/examples/drag-n-drop
Fabio Massaioli 2b9891da2c
[v3] Update and fix runtime JS API (#3295)
* Cleanup bundled runtime entry point

* Fix JS representation of Screen struct

* Expose IsFocused method in Window interface

* Update JS window API

* Fix cleanup of WML listeners

* Bundle runtime as ES module

* Update runtime dependencies

* Update runtime types and events

* Update bundled runtime

* Update changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-03-20 20:30:14 +11:00
..
assets [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00
main.go Add BundledAssetFileServer for bundled /wails/runtime.js. Update examples. 2024-03-17 15:08:30 +11:00
README.md Mac examples + readme updated 2023-10-17 20:25:36 +11:00

Drag-n-drop Example

This example demonstrates how to handle files being dragged into the application.

Running the example

To run the example, simply run the following command:

go run main.go

Building the example

To build the example in debug mode, simply run the following command:

wails3 task build

Status

Platform Status
Mac Working
Windows Not Working
Linux