mirror of
https://github.com/konvajs/konva.git
synced 2025-11-18 17:21:36 +08:00
I realize that this doesn't follow the JavaScript pattern of parent.remove(child), and that from an OO perspective, perhaps nodes shouldn't have the ability to destroy themselves. But, from a practical standpoint, it's a heck of a lot more convenient to just use .remove() when you want to remove something.