overleaf/services/web/public/coffee/app/ide/file-tree/directives/draggable.coffee
2014-06-23 10:57:31 +01:00

12 lines
No EOL
208 B
CoffeeScript

define [
"base"
], (App) ->
App.directive "draggable", () ->
return {
link: (scope, element, attrs) ->
element.draggable
delay: 250
opacity: 0.7
helper: "clone"
scroll: true
}