简体   繁体   中英

Onmouseover call ruby function in Volt framework not working

I want to call a function when the mouse is on an aside, but it only calls it on the initial page load (which it shouldn't) and not when the mouse is on the aside. Here is my code:

<aside onmouseover="{{ func_name }}">
  ...
<aside>

Any suggestions?

伏特事件与e-绑定,因此您需要执行e-mounseover属性:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM