How do I create a new Image in ClojureScript?
I want the equivalent of new Image(); in JavaScript
I have tried (new Image) (Image. )
What am I missing?
You need to qualify Image
with the js
"magic namespace":
(js/Image.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With