* Sets the window width and window height values of the ResizeHelper. * @memberof ResizeHelper
()
| 109 | * @memberof ResizeHelper |
| 110 | */ |
| 111 | getWindowResolution() { |
| 112 | let width, height; |
| 113 | |
| 114 | if (this.iOS) { |
| 115 | width = document.documentElement.clientWidth; |
| 116 | height = document.documentElement.clientHeight; |
| 117 | } |
| 118 | else { |
| 119 | width = window.innerWidth; |
| 120 | height = window.innerHeight; |
| 121 | } |
| 122 | |
| 123 | return { width, height }; |
| 124 | } |
| 125 | } |
no outgoing calls
no test coverage detected