isConnected property

bool get isConnected
inherited

Implementation

bool get isConnected {
  Node parent = this;
  while (parent.parentNode != null) {
    parent = parent.parentNode!;
  }
  Document document = elementManager.document;
  return this == document || parent == document;
}