The event "ev" is triggered while dropping an URL from a Web browser URL bar into a DIV element.
Thanks for your answers.
How familiar are you with https://godoc.org/github.com/gopherjs/gopherjs/js package?
You should be able to do the above using:
ev.Get("dataTransfer").Call("getData", "URL")
The event "ev" is triggered while dropping an URL from a Web browser URL bar into a DIV element.
Do you already have an event listener added for that? If not, you'll need to add it.
On Thursday, May 12, 2016 at 8:00:58 AM UTC-7, thomas.b...@gmail.com wrote:
Hello,
I am currently converting a JS code into GopherJS. I mostly use the DOM API.
I was wondering how to convert:
ev.dataTransfer.getData('URL');into GopherJS ?
The event "ev" is triggered while dropping an URL from a Web browser URL bar into a DIV element.
Thanks,
Thomas
--
You received this message because you are subscribed to a topic in the Google Groups "GopherJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gopherjs/g8Izg9vioig/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gopherjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.