isConnected property
Implementation
bool get isConnected {
Node parent = this;
while (parent.parentNode != null) {
parent = parent.parentNode!;
}
return parent == ownerDocument;
}
bool get isConnected {
Node parent = this;
while (parent.parentNode != null) {
parent = parent.parentNode!;
}
return parent == ownerDocument;
}