overleaf/services/web/public/coffee/app/ide/file-tree/directives/draggable.coffee

12 lines
208 B
CoffeeScript
Raw Normal View History

2014-06-23 05:57:31 -04:00
define [
"base"
], (App) ->
App.directive "draggable", () ->
return {
link: (scope, element, attrs) ->
element.draggable
delay: 250
opacity: 0.7
helper: "clone"
scroll: true
}