You are viewing a single comment's thread from:

RE: File Drag & Drop module in Electron with Text Editing Example

in #utopian-io7 years ago

Hi @pckurdu,

While reading your tutorial, I just notice something that I didn't found in the code, especially when you discussed about drag-file id element. In the code, it has e.preventDefault(); but when you elaborate the code functions instead of having preventDefault(), you define this one preventEvent() instead.
As seen in this screenshot I took,


And additionally in this part of the tutorial,
.

It appears that preventDefault() are found in those codes, but it is confusing since it wasn't defined. Please clarify, if its preventDefault() or preventEvent()so readers won't get confused.

Thank you.

Sort:  

Thank you for your comment. the function name will be preventDefault(). I made the necessary corrections.

Hey @josephace135
Here's a tip for your valuable feedback! @Utopian-io loves and incentivises informative comments.

Contributing on Utopian
Learn how to contribute on our website.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!