所以我用的是opal,opal-jquery和jquery.terminal。后者向jquery添加了一个名为terminal()的函数。
opal
opal-jquery
jquery.terminal
terminal()
然而,Element似乎没有这种方法?
Element
发布于 2015-03-18 17:53:49
只管打电话
Element.expose(:terminal)
在尝试使用该方法之前,这应该是可行的。
https://stackoverflow.com/questions/29123303
相似问题