* For older browsers, specifically for IE11, starts a loop making sure resize events are fired. * @memberof ResizeHelper * @private
()
| 74 | * @private |
| 75 | */ |
| 76 | resizeTick() { |
| 77 | // Make sure references to the window dimensions are up to date. |
| 78 | const resolution = this.getWindowResolution(); |
| 79 | |
| 80 | // Update the aspect ratio property. |
| 81 | this.aspectRatio.value = Math.round((resolution.height / resolution.width) * 1000) * 0.0001; |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * Dispatches window resize events if the ResizeHelper is manually handling a resize loop. |
no test coverage detected