WindowHeight returns the current window height
()
| 242 | |
| 243 | // WindowHeight returns the current window height |
| 244 | func WindowHeight() float32 { |
| 245 | return float32(window.Get("innerHeight").Int()) |
| 246 | } |
| 247 | |
| 248 | // CanvasWidth returns the current canvas width |
| 249 | func CanvasWidth() float32 { |
no test coverage detected