* Locates an element with the specified ID within the ampdoc. In the * shadow-doc mode, when multiple documents could be present, this method * localizes search only to the DOM subtree specific to this ampdoc. * * @param {string} id * @return {?Element}
(id)
| 540 | * @return {?Element} |
| 541 | */ |
| 542 | getElementById(id) { |
| 543 | return this.getRootNode().getElementById(id); |
| 544 | } |
| 545 | |
| 546 | /** |
| 547 | * Whether the node is currently contained in the DOM of the root. |
no test coverage detected