Created
August 20, 2016 09:21
-
-
Save goofmint/10941ca8f33b58aaf8f066f8820802a9 to your computer and use it in GitHub Desktop.
6.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
'.sampleDiv click': function(context, $el) { | |
: | |
// 第2引数でクラスを追加する | |
var arrowbox = this._arrowboxController.create(this.view.get('message'), { | |
cls: 'position-set' | |
}); | |
var x = context.event.pageX; | |
var y = context.event.pageY; | |
arrowbox.show({ | |
position: { | |
left: x, | |
top: y | |
} | |
}); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment