Created
May 11, 2017 05:10
-
-
Save goofmint/ed8e0ce3a51d10739e94dcfd7e6e593b to your computer and use it in GitHub Desktop.
5.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
var controller = { | |
__name: 'Drag&DropController', | |
// 初期化処理 | |
__ready: function() { | |
}, | |
// 要素がドロップされた時のコールバック | |
drop: function(org, event, ui) { | |
}, | |
// 要素が外れた時のコールバック | |
blur: function(org, event, ui) { | |
} | |
}; | |
// コントローラの作成と要素へのバインド. | |
h5.core.controller('#container', controller); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment