sagalbot / vue-sortable

A lightweight directive for reorderable drag-and-drop lists using RubaXa/Sortable
http://sagalbot.github.io/vue-sortable/
MIT License
721 stars 104 forks source link

Reload Configuration #3

Closed mikebronner closed 8 years ago

mikebronner commented 8 years ago

Is there a way to reload configuration at run-time? I am changing the underlying data-set during runtime, but the configuration isn't updating along with it. Any thoughts? Thanks for you work on this package! :)

sagalbot commented 8 years ago

Could you provide an example or some code to demonstrate?

mikebronner commented 8 years ago

It's a bit tricky ... the basic problem that I had was the store get and set functions didn't have the data available at the time the configuration was set. I was able to work around this by calling functions external to the configuration. I'll go ahead and close this issue.

Thanks again for a great package! :)

sagalbot commented 8 years ago

Glad you find it useful and were able to solve your issue!