GithubHelp home page GithubHelp logo

RFC: Angular wrapper about filepond HOT 6 CLOSED

pqina avatar pqina commented on May 14, 2024
RFC: Angular wrapper

from filepond.

Comments (6)

rikschennink avatar rikschennink commented on May 14, 2024

@vitaliy-bobrov I'd love to!

  1. FilePond was originally going to be a commercial plugin, but has since moved to MIT, that's the reason why only the build targets are available. I'm planning to add the source files in the near future, but want to clean them up and streamline the build script first.

  2. You can set up custom file processing methods which allow you to completely customize uploads (and other requests).

  3. I'm not sure what you mean with DOM manipulations, please elaborate.

from filepond.

vitaliy-bobrov avatar vitaliy-bobrov commented on May 14, 2024

Under DOM manipulations I mean add/remove DOM nodes, etc. But we can wrap filepond calls inside separate zone with NgZone API to avoid unnecessary change detection calls.

from filepond.

rikschennink avatar rikschennink commented on May 14, 2024

There's no manipulation of the DOM outside of the FilePond root node. You can create a pond without having a target element to bind to (it will then create a node itself), the element will be available in from the element property. You can then add that element to the page manually.

I have limited experience with Angular 1, 2 and up. But if NgZone blocks mutation events than if the Angular component wraps the FilePond element in one of those, all should be fine.

Maybe the React Component can function as a reference.

from filepond.

vitaliy-bobrov avatar vitaliy-bobrov commented on May 14, 2024

Thanks for the explanation, I need to investigate how it works and will experiment on Angular wrapper.

from filepond.

rikschennink avatar rikschennink commented on May 14, 2024

No problem, let me know if you've got any questions, happy to help 👍

from filepond.

rikschennink avatar rikschennink commented on May 14, 2024

@vitaliy-bobrov I've set up an adapter for Angular here, I'm no pro at this, but it seems to work, probably lots of room for improvement.

from filepond.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.