开发者

How can I handle click event on a node in dracula graph library?

开发者 https://www.devze.com 2023-03-29 20:25 出处:网络
Given a simple node, I\'d like to handle click event on a node. For example when you click on \"cherry\" on the page http://www.graphdracula.net/, an alert should popup.

Given a simple node, I'd like to handle click event on a node.

For example when you click on "cherry" on the page http://www.graphdracula.net/, an alert should popup.

ps开发者_如何转开发: need new tag "dracula" but I don't have enough reputation to create it...


cant you simply do

$("#cherryID").live('click',function(){

//code here
});
0

精彩评论

暂无评论...
验证码 换一张
取 消