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