* Removes the container and its observer that were set by the `setContainer`. * * @param {!Element} container
(container)
| 157 | * @param {!Element} container |
| 158 | */ |
| 159 | removeContainer(container) { |
| 160 | const observer = this.containerMap_.get(container); |
| 161 | if (!observer) { |
| 162 | return; |
| 163 | } |
| 164 | |
| 165 | // Disconnect. All children will be unobserved automatically. |
| 166 | observer.disconnect(); |
| 167 | this.containerMap_.delete(container); |
| 168 | } |
| 169 | |
| 170 | /** @private*/ |
| 171 | signalScanReady_() { |
no test coverage detected