ericdrowell / KineticJS

KineticJS is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
http://www.kineticjs.com
3.98k stars 752 forks source link

.showHide(state) method #932

Closed moniuch closed 10 years ago

moniuch commented 10 years ago

Please implement Node.showHide(state) method for simplifying the code. State could be either a Number or a Boolean, or anything that evaluates to 1/True would show, anythin else - hide the shape.

lavrton commented 10 years ago
node.visible(state);