* Returns fixed elements from the transfer layer. * @param {!Array } fes * @private
(fes)
| 354 | * @private |
| 355 | */ |
| 356 | returnFixedElements_(fes) { |
| 357 | if (fes.length > 0 && this.transferLayer_) { |
| 358 | this.vsync_.mutate(() => { |
| 359 | for (let i = 0; i < fes.length; i++) { |
| 360 | const fe = fes[i]; |
| 361 | if (fe.position == 'fixed') { |
| 362 | this.transferLayer_.returnFrom(fe); |
| 363 | } |
| 364 | } |
| 365 | }); |
| 366 | } |
| 367 | } |
| 368 | |
| 369 | /** |
| 370 | * Whether the element is declared as fixed in any of the user's stylesheets. |
no test coverage detected