traverseVisible method

void traverseVisible(
  1. dynamic callback
)
inherited

Implementation

void traverseVisible(callback) {
  if (visible == false) return;

  callback(this);

  var children = this.children;

  for (var i = 0, l = children.length; i < l; i++) {
    children[i].traverseVisible(callback);
  }
}