How do I apply CSS styles to Raphael.js objects using jQuery?

后端 未结 3 1442
没有蜡笔的小新
没有蜡笔的小新 2021-02-15 02:31

Does anybody have any experience with the Raphael.js SVG library?

I\'m using Raphael.js to create an SVG map (for use on smartphones) but I\'m having trouble opening the

3条回答
  •  感情败类
    2021-02-15 03:03

    Or you add a class as an attribute

    $jQueryObject.attr('class', 'highlight');
    

    This will work instead of

    $jQueryObject.addClass('highlight');
    

提交回复
热议问题