Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created August 20, 2016 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofmint/10941ca8f33b58aaf8f066f8820802a9 to your computer and use it in GitHub Desktop.
Save goofmint/10941ca8f33b58aaf8f066f8820802a9 to your computer and use it in GitHub Desktop.
6.md
'.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