Module representing a browser window.
Use this module only in code executing within a browswer window. Don't use it in node and not in a web worker either.
The window object is an event target for the following events and many more which can propagate from inner elements.
val get : unit -> t
Get the window object.
val on_next_animation : (float -> unit) -> t -> unit
on_next_animation callback window
callback is called on the next animation frame. Usually a browser has 60 frames per second.
The argument received by the callback is the time in milliseconds since the current document has been loaded.