Javascript event simulation library

后端 未结 4 1642
花落未央
花落未央 2020-12-21 23:04

Do you know a JS library for DOM events simulation? I know that this operation can be done but i can\'t find any library to do it.

UPDATE: I try to

4条回答
  •  醉梦人生
    2020-12-21 23:32

    You can use prototype.js to fire your own custom events

    e.g. treeContainer.fire('nodeIcon:mousedown', {targetEvent: event, node: node});

提交回复
热议问题