hummingbird-me/hummingbird

View on GitHub
app/assets/javascripts/mixins/SortableMixin.js

Summary

Maintainability
A
0 mins
Test Coverage
HB.SortableMixin = Em.Mixin.create(JQ.Widget,{
  uiType: 'sortable',
  uiOptions: ['disabled', 'appendTo', 'axis', 'cancel', 'helper',
            'containment', 'cursor', 'delay', 'revert', 'tolerance',
            'opacity', 'scroll', 'distance', 'grid', 'handle',
            'stack', 'cursorAt', 'connectWith'],
  uiEvents: ['create', 'start', 'drag', 'stop', 'update'],
  //jquery UI options
  revert: 'invalid',
  cursor: 'move',
  tolerance: 'pointer',
})