premasagar / pablo

Pablo is a lightweight, expressive JavaScript SVG library. Pablo creates interactive drawings with SVG (Scalable Vector Graphics), giving access to all of SVG's granularity and power.
https://pablojs.com
MIT License
413 stars 16 forks source link

Support bringToFront() and related methods #10

Open premasagar opened 12 years ago

premasagar commented 12 years ago

collection.bringToFront() or collection.toFront() would be an alias for:

collection.remove().append(collection.parent())

// or, for Pablo v0.3
collection.detach().append(collection.parent())

Related methods: