Snap Title Tooltip

Implementing tooltip/title feature


var s = Snap("#svgout");


var title = Snap.parse('<title>This is a title 2</title>');
var rect = s.rect(20,20,40,40);
rect.append( title );


//Hover over the square
   


        
The actual svg markup looks like this (when you've clicked on run)....