vue-filepond icon indicating copy to clipboard operation
vue-filepond copied to clipboard

Help me help you translate the documentation into Vuejs.

Open ghost opened this issue 3 years ago • 3 comments

Hello and thank you for the great library. Every time I try applying something on the documentation I am having issues with the suggested formula on it because it's in pure JS. Most of the times I have little to no clue whatsoever about where to put what. The examples are enigmas to solve every time I look at the documentation. (Am I missing hidden Vue doc?) So to put an end to it, we can together translate it to Vuejs and make it a Vue beginner friendly library. If you find it pleasing we can start with on which props we use @ or : and what functions are considered computed. We can also continue with your proposed way of adapting the functions into the Vue ecosystem. Thank you.

ghost avatar Jan 12 '21 08:01 ghost

@pazarbasifatih I very much appreciate the offer. There's currently no hidden Vue doc. It would be easiest to generate the docs from a core truth but that's not really easy to implement in the current system. Maybe we can add some sort of clarification to the Vue section?

rikschennink avatar Jan 18 '21 10:01 rikschennink

I try the properties camelCase, then kebab-case and try v-on and v-bind on them :D. If only there were an addendum that clarifies this once and for all, that'd accelerate things a lot.

ghost avatar Jan 18 '21 10:01 ghost

For simple static values you can use a string, for complex values in data() or values that might change you use v-bind.

Internally FilePond converts string input to the right format.

rikschennink avatar Jan 20 '21 07:01 rikschennink