Après avoir instancié Raphael texte comme si
var t = paper.text(50, 50, "Raphaël\nkicks\nbutt!");
Comment puis-je aborder la modification de ce texte?
t.text = "test";
N'a pas travaillé pour moi.
Vous devez utiliser la .attr()
docs pour modifier le texte d'un élément de texte existant
comme ça
t.attr('text','new text here');