* Returns reference to upgraded implementation. * @param {boolean} waitForBuild If true, waits for element to be built before * resolving the returned Promise. Default is true. * @return {!Promise<!./base-element.BaseElement>}
(waitForBuild = true)
| 1568 | * @return {!Promise<!./base-element.BaseElement>} |
| 1569 | */ |
| 1570 | getImpl(waitForBuild = true) { |
| 1571 | const waitFor = waitForBuild ? this.build() : this.createImpl_(); |
| 1572 | return waitFor.then(() => this.impl_); |
| 1573 | } |
| 1574 | |
| 1575 | /** |
| 1576 | * @return {!Promise<!./base-element.BaseElement>} |
no test coverage detected