progtarek / angular-drag-n-drop-directive Goto Github PK
View Code? Open in Web Editor NEWAngular Drag and Drop directive example with uploading progess
Angular Drag and Drop directive example with uploading progess
Hello!
How I can restrict the file extension?
thanks. kind regards
Shake functionality is not working on either stackblitz or on the github code.
Hi Team,
I'm using this library for single file and its working fine.
But I'm having requirements add & remove input & file upload fields dynamically.
So this case this library will support this dynamic functionality file uploads in single same form. Below code I've used it but if I upload dynamic first add more section it updating all appDnd form fields also.
How to deal with this case and let me know the solution will be helpful.
<div class="col-4 align-items-center" (fileDropped)="onFileDropped($event, i)" appDnd>
I am trying to upload a real file toward a server. I cannot find a way to setup the a configuration with an IP.
I found this on medium and it was helpful to get things set up and get myself oriented with the angular way of doing things.
However, I wish there was some simple way to finish and amend the project to show an actual upload to an endpoint instead of the mock upload.
Any chance of that happening?
In dnd.directive.ts
these line throw the error: Parameter 'evt' implicitly has an 'any' type.
@HostListener('dragover', ['$event']) onDragOver(evt) {
@HostListener('dragleave', ['$event']) public onDragLeave(evt) {
@HostListener('drop', ['$event']) public ondrop(evt) {
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.