* @return {?TransferLayerDef}
()
| 833 | * @return {?TransferLayerDef} |
| 834 | */ |
| 835 | getTransferLayer_() { |
| 836 | // This mode is only allowed for a single-doc case. |
| 837 | if (!this.transfer_ || this.transferLayer_) { |
| 838 | return this.transferLayer_; |
| 839 | } |
| 840 | const doc = this.ampdoc.win.document; |
| 841 | this.transferLayer_ = new TransferLayerBody(doc, this.vsync_); |
| 842 | return this.transferLayer_; |
| 843 | } |
| 844 | |
| 845 | /** |
| 846 | * Find all `position:fixed` and `position:sticky` elements. |
no outgoing calls
no test coverage detected