rniemeyer / knockout-sortable

A Knockout.js binding to connect observableArrays with jQuery UI sortable functionality
MIT License
547 stars 128 forks source link

Possibility to specify a Place Holder class. #130

Closed martinpare closed 9 years ago

martinpare commented 9 years ago

Would be nice the possibility to pass as a parameter, the placeholder class.

rniemeyer commented 9 years ago

@martinpare - you can pass any additional options directly to the jQuery UI widget using the options property. So, something like:

data-bind="sortable: { data: items, options: { placeholder: 'your-class' } }"

Hope that helps!

martinpare commented 9 years ago

Thank you very much… I’m kind of novice with Knockout. BIG thank for all of your work, and blog. Such contributors are priceless for our community.

rniemeyer commented 9 years ago

@martinpare - glad to help. good luck with your project!