Closed dannief closed 8 years ago
So just after I wrote this I read the code and realized that I expected to see something visual on the screen indicating that drop zone was there :flushed:. Yeah. It's totally fine. I probably need some shut-eye or something. So I am closing this issue.
Thanks again for the component by the way. Saved me from integrating drop zone myself
Hi. Found your component after searching for file drop that didn't require an upload URL. Unfortunately, I can't get it to work. I thought I would try running the samples but I am getting this error.
I tried running
npm start
anyway and got this error:So I am pretty much stuck.
I am running on windows and have python2 in my path. In addition, I am using this in a project targeting angular 2.1.1 and angular-cli 1.0.0-beta.18.
I imported and exported the
Ng2FileDropModule
module in my SharedModule and have imported my SharedModule in the feature module that I am working on. This has worked with ng2-bootstrap and angular2-ladda, which I am also using.The problem is that ng2FileDrop selector on my div seems to not have any effect.
I am applying it like this
<div ng2FileDrop class="h4 ba b--dashed br3"></div>
Any help would be appreciated.
Thanks