* Returns a Promise that only ever resolved when the current * AMP document first reaches the `PREVIEW` visibility state. * @return {!Promise}
()
| 671 | * @return {!Promise} |
| 672 | */ |
| 673 | whenFirstPreviewed() { |
| 674 | return this.signals_ |
| 675 | .whenSignal(AmpDocSignals_Enum.FIRST_PREVIEWED) |
| 676 | .then(() => undefined); |
| 677 | } |
| 678 | |
| 679 | /** |
| 680 | * Returns a Promise that only ever resolved when the current |
no test coverage detected