Skip to content

Instantly share code, notes, and snippets.



Last active Jul 13, 2016
What would you like to do?
'> .replaceBox click': function() {
// 新しいHTMLを生成
this.__count += 1;
var count = this.__count;
var element = $('<div>'+count+'</div>');
// アニメーションの仕方を取得
var input = this.$find('select')[0];
var transition = input.options[input.selectedIndex].value;
// 処理の実行
this.replaceBoxController.replace(element, {transition: transition});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment