 contain the index of the item
        // when the drag started and ended, respectively
        console.log('Dragged from index', detail.from, 'to', detail.to);

        // Finish the reorder and position the item in the DOM based on
        // where the gesture ended. This method can also be called directly
        // by the reorder group
        detail.complete();
      });

      function toggleReorder() {
        reorderGroup.disabled = !reorderGroup.disabled;
      }
    </script>
  </body>
</html>
