I would like to unset (remove) href attribute of the Text object. How to do that?
Try
var paper = Raphael( 0, 0, 100, 100 );
var rect = paper.rect( 0, 0, 100, 100 );
// just set it to nothing
rect.attr({ href: "" });
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.