Module

Web.HTML.Window

#Window

data Window :: Type

#toEventTarget

#innerWidth

#innerHeight

#alert

#moveBy

#moveTo

#outerHeight

#outerWidth

#print

#promptDefault

#resizeBy

#resizeTo

#screenX

#screenY

#scroll

#scrollBy

#localStorage

#sessionStorage

#requestIdleCallback

requestIdleCallback :: { timeout :: Int } -> Effect Unit -> Window -> Effect RequestIdleCallbackId

Set timeout to 0 to get the same behaviour as when it is undefined in JavaScript.

Modules