WindowWidth returns the current window width
()
| 237 | |
| 238 | // WindowWidth returns the current window width |
| 239 | func WindowWidth() float32 { |
| 240 | return float32(window.Get("innerWidth").Int()) |
| 241 | } |
| 242 | |
| 243 | // WindowHeight returns the current window height |
| 244 | func WindowHeight() float32 { |
no test coverage detected