-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Feature - Integrate with vs-repeat #134
Comments
@fourgates it would be great if this was made easy. In any case, I managed to do it the following way (excuse me for sharing Pug code instead of HTML): .container
.list-group(
sv-on-sort="$ctrl_.itemMoved($indexFrom, $indexTo)"
sv-part="$vs_collection"
sv-root
vs-repeat="{scrollParent: '.container'}"
)
.list-group-item(
ng-repeat="item in $ctrl_.items track by item.id"
sv-element="{containment: '.list-group'}"
) Notice that A) I've used I hope it helps, it worked for me. |
very interesting... I am making to some update to the app that uses this in the next couple weeks and I look forward to testing this out. Thanks @alejandroiglesias |
would it be possible at all to have some integration with the vs-repeat directive?
The text was updated successfully, but these errors were encountered: