animation


Type: Number
Default: 0

Allows animation of items during movement.


Set to the number of milliseconds you want to transition take. When set to 0, the animation is disabled.

const instance = new Nestable({
    animation: 250
});

Demo

  1. Item 1
  2. Item 2
    1. Item 3
    2. Item 4
  3. Item 5
  4. Item 6
  5. Item 7
  6. Item 8