disconnectedCallback method
Implementation
@override
void disconnectedCallback() {
if (_styleSheet != null) {
ownerDocument.removeStyleSheet(_styleSheet!);
}
super.disconnectedCallback();
}
@override
void disconnectedCallback() {
if (_styleSheet != null) {
ownerDocument.removeStyleSheet(_styleSheet!);
}
super.disconnectedCallback();
}