0
我想取消(刪除)Text對象的href屬性。 如何做到這一點?如何從Raphael對象中刪除空的HREF屬性?
我想取消(刪除)Text對象的href屬性。 如何做到這一點?如何從Raphael對象中刪除空的HREF屬性?
嘗試
var paper = Raphael(0, 0, 100, 100);
var rect = paper.rect(0, 0, 100, 100);
// just set it to nothing
rect.attr({ href: "" });