* Subclasses can override this method to opt-out of rendering the element * when it is not currently visible. * Returning a boolean allows or prevents rendering outside the viewport at * any distance, while returning a positive number allows rendering only when * the element is within X
()
| 513 | * @return {boolean|number} |
| 514 | */ |
| 515 | renderOutsideViewport() { |
| 516 | // Inabox allow layout independent of viewport location. |
| 517 | return getMode(this.win).runtime == 'inabox' || 3; |
| 518 | } |
| 519 | |
| 520 | /** |
| 521 | * Allows for rendering outside of the constraint set by renderOutsideViewport |
no test coverage detected