Skip to content
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

Single sortable container: Contain sorting to yellow container: #120

Open
atuleshK opened this issue Apr 3, 2017 · 1 comment
Open

Single sortable container: Contain sorting to yellow container: #120

atuleshK opened this issue Apr 3, 2017 · 1 comment

Comments

@atuleshK
Copy link

atuleshK commented Apr 3, 2017

On demo page of single sortable container there is a checkbox, which is used to control the overflow of sv-element. Can you tell me how is it working?

I want to implement the same condition as when checkbox is true.

@leocaseiro
Copy link

leocaseiro commented May 25, 2017

add the css selector to your sv-element.containment, like so:

<ul class="my-root-selector" sv-root>
  <li class="my-element-selector" sv-element="{containment: '.my-root-selector'}"></li>
</ul>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants