如何在 help-ballon grails-plugin 中使用更多参数
我尝试使用更多参数,但无法使其
<g:helpBalloon title="foo" content="bla" useEvent="['mouseover']" />
正常工作,
<script type="text/javascript"> new HelpBalloon({ title: 'foo', content: 'bla', useEvent: ['mouseover'] }); </script>
但 useEvent="['mouseover']" 似乎无法被识别?!
如上所见 http://www.beauscott.com/examples/help_balloons/doc/examples。嗯
I try to use more of the parameters but could not get it working with
<g:helpBalloon title="foo" content="bla" useEvent="['mouseover']" />
should result in
<script type="text/javascript"> new HelpBalloon({ title: 'foo', content: 'bla', useEvent: ['mouseover'] }); </script>
but useEvent="['mouseover']" seems not to be recognized?!
as seen on
http://www.beauscott.com/examples/help_balloons/doc/examples.htm
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看该插件的代码,看起来它没有执行 useEvent 位
Looking at the code for that plugin, it looks like it doesn't do the useEvent bit