# BOM
# window 对象
属性
- applicationCache
- caches
- closed
- console
- controllers
- crossOriginIsolated
- crypto
- customElements
- devicePixelRatio
- dialogArguments
- document
- event
- frameElement
- frames
- fullScreen
- history
- indexedDB
- innerHeight
- innerWidth
- isSecureContext
- isSecureContext
- length
- localStorage
- location
- locationbar
- menubar
- mozInnerScreexX
- mozInnerScreexY
- mozPaintCount
- name
- navigator
- onabort
- onafterprint
- onanimationcancel
- onanimationend
- onanimationiteration
- onauxclick
- onbeforeinstallprompt
- onbeforeprint
- onbeforeunload
- onblur
- oncancel
- oncanplay
- oncanplaythrough
- onchange
- onclick
- onclose
- oncontextmenu
- oncuechange
- ondblclick
- ondevicelight
- ondevicemotion
- ondeviceorientation
- ondeviceorientationabsolute
- ondeviceproximity
- ondurationchange
- onended
- onerror
- onfocus
- onformdata
- ongamepadconnected
- ongamepaddisconnected
- ongotpointercapture
- onhashchange
- oninput
- oninvalid
- onkeydown
- onkeypress
- onkeyup
- onlanguagechange
- onload
- onloadeddata
- onloadedmetadata
- onloadend
- onloadstart
- onlostpointercapture
- onmessage
- onmessageerror
- onmousedown
- onmouseenter
- onmouseleave
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onpaint
- onpause
- onplay
- onplaying
- onpointercancel
- onpointerdown
- onpointerenter
- onpointerleave
- onpointermove
- onpointerout
- onpointerover
- onpointerup
- onpopstate
- onrejectionhandleed
- onreset
- onresize
- onscroll
- onselect
- onselectionchange
- onselectstart
- onstorage
- onsubmit
- ontouchcancel
- ontouchstart
- ontransitioncancel
- ontransitionend
- onunhandledrejection
- onuload
- onuserproximity
- onvrdisplayactivate
- onvrdisplayblur
- onvrdisplayconnect
- onvrdisplaydeactivate
- onvrdisplaydisconnect
- onvrdisplayfocus
- onvrdisplaypointerrestricted
- onvrdisplaypointerunrestricted
- onvrdisplaypresentchange
- onwheel
- opener
- origin
- outerHeight
- outerWidth
- pageXOffset
- pageYOffset
- parent
- performance
- personalbar
- screen
- screenLeft
- screenTop
- screenX
- screenY
- scrollbars
- scrollMaxX
- scrollMaxY
- scrollX
- scrollY
- self
- sessionStorage
- sidebar
- speechSynthesis
- status
- statusbar
- toolbar
- top
- visualViewport
- window
方法
- alert
- atob
- blur
- btoa
- cancelAnimationFrame
- cancelIdleCallback
- captureEvents
- clearImmediate
- clearInterval
- clearTimeout
- close
- confirm
- convertPointFromNodeToPage
- convertPointFromPageToNode
- createImageBitmap
- dump
- fetch
- find
- focus
- getAttention
- getComputedStyle
- getDefaultComputedStyle
- getSelection
- matchMedia
- minimize
- moveBy
- moveTo
- open
- openDialog
- postMessage
- prompt
- queueMicrotask
- releaseEvents
- requestAnimationFrame
- requestFileSystem
- requestIdleCallback
- resizeBy
- resizeTo
- restore
- scroll
- scrollBy
- scrollByLines
- scrollByPages
- scrollTo
- setCursor
- setImmediate
- setInterval
- setTimeout
- showModalDialog
- sizeToContent
- stop
- updateCommands
Events
- event
- afterprint
- animationcancel
- animationend
- animationiteration
- beforeprint
- beforeunload
- blur
- copy
- cut
- DOMContentLoaded
- error
- focus
- hashchange
- languagechange
- load
- message
- messageerror
- offline
- online
- orientationchange
- pagehide
- pageshow
- paste
- popstate
- rejectionhandled
- storage
- transitioncancel
- unhandledrejection
- unload
- vrdisplayconnect
- vrdisplaydisconnect
- vrdisplaypresentchange