How to use eve() in Raphael?

前端 未结 2 981
被撕碎了的回忆
被撕碎了的回忆 2021-02-09 18:14

Can some one give me a simple example of Raphael eve()?

I don\'t quite understand the parameters and how to call events. I was searching around for a bit b

2条回答
  •  忘掉有多难
    2021-02-09 18:37

    http://jsperf.com/eve-js-versus-events

    Use Event.js. I think it is better. Not just faster. But understand the key conceptual difference. eve.js works without a DOM. Event.js is basicaly DOM events library. Although not 100%.

提交回复
热议问题