Window interface

인터페이스는 Window DOM 문서가 포함된 창을 나타내며 속성은 document 해당 창에 로드된 DOM 문서를 가리킵니다.

MDN 참조

Extends

EventTarget,AnimationFrameProvider,GlobalEventHandlers,WindowEventHandlers,WindowLocalStorage,WindowOrWorkerGlobalScope,WindowSessionStorage

속성

clientInformation
closed

읽기 전용 속성은 Window.closed 참조된 창이 닫혀 있는지 여부를 나타냅니다.

MDN 참조

cookieStore

Window 인터페이스의 읽기 전용 속성은 cookieStore 현재 문서 컨텍스트에 대한 CookieStore 개체에 대한 참조를 반환합니다.

MDN 참조

customElements

Window 인터페이스의 읽기 전용 속성은 customElements 새 사용자 지정 요소를 등록하고 이전에 등록된 사용자 지정 요소에 대한 정보를 가져오는 데 사용할 수 있는 CustomElementRegistry 개체에 대한 참조를 반환합니다.

MDN 참조

devicePixelRatio

Of Window 인터페이스는 devicePixelRatio 현재 디스플레이 디바이스의 CSS 픽셀 해상도와 실제 픽셀의 해상도 비율을 반환합니다.

MDN 참조

document

window.document 는 창에 포함된 문서에 대한 참조를 반환합니다.

MDN 참조

event

읽기 전용 Window 속성 event 은 현재 사이트 코드에서 처리 중인 이벤트를 반환합니다.

external

Window API의 속성은 external 브라우저에 외부 검색 공급자를 추가하는 데 관련된 함수를 포함하기 위한 인터페이스의 External 인스턴스를 반환합니다.

frameElement

이 속성은 Window.frameElement 창이 포함된 요소(예: iframe 또는 개체)를 반환합니다.

MDN 참조

frames

현재 창의 직접 하위 프레임을 나열하는 배열과 같은 개체인 창 자체를 반환합니다.

MDN 참조

history

읽기 전용 속성은 Window.history 브라우저 세션 기록 (현재 페이지가 로드된 탭 또는 프레임에서 방문한 페이지)을 조작하기 위한 인터페이스를 제공하는 History 개체에 대한 참조를 반환합니다.

MDN 참조

innerHeight

가로 스크롤 막대의 높이(있는 경우)를 포함하는 읽기 전용 innerHeight 속성입니다.

MDN 참조

innerWidth

읽기 전용 Window 속성 innerWidth 은 창의 내부 너비(즉, 창 레이아웃 뷰포트의 너비)를 픽셀 단위로 반환합니다.

MDN 참조

length

프레임 수(프레임 또는 A)를 반환합니다.

MDN 참조

location

읽기 전용 속성은 Window.location 문서의 현재 위치에 대한 정보가 포함된 Location 개체를 반환합니다.

MDN 참조

locationbar

개체를 locationbar 반환합니다.

MDN 참조

menubar

개체를 menubar 반환합니다.

MDN 참조

msCrypto
name

이 속성은 Window.name 창의 검색 컨텍스트 이름을 가져오거나 설정합니다.

MDN 참조

navigator

읽기 전용 속성은 Window.navigator 스크립트를 실행하는 애플리케이션에 대한 메서드와 속성이 있는 Navigator 개체에 대한 참조를 반환합니다.

MDN 참조

ondevicemotion

보안 컨텍스트에서만 사용할 수 있습니다.

MDN 참조

ondeviceorientation

보안 컨텍스트에서만 사용할 수 있습니다.

MDN 참조

ondeviceorientationabsolute

보안 컨텍스트에서만 사용할 수 있습니다.

MDN 참조

onorientationchange
opener

Window 인터페이스의 opener 속성은 Window.open을 사용하여 또는 특성이 있는 링크를 탐색하여 창을 연 창에 대한 참조를 target 반환합니다.

MDN 참조

orientation

디바이스의 자연 방향을 기준으로 뷰포트의 방향을 90도 단위로 반환합니다.

originAgentCluster

창 인터페이스의 읽기 전용 속성은 originAgentCluster 이 창이 원본 키 에이전트 클러스터에 속하는 경우 반환 true 됩니다. 즉, 운영 체제가 다른 원본의 창과 공유되지 않는 이 창의 원본에 전용 리소스(예: 운영 체제 프로세스)를 제공했음을 의미합니다.

MDN 참조

outerHeight

읽기 전용 속성은 Window.outerHeight 사이드바, 창 크롬 및 창 크기 조정 테두리/핸들을 포함하여 전체 브라우저 창의 높이를 픽셀 단위로 반환합니다.

MDN 참조

outerWidth

Window.outerWidth 읽기 전용 속성은 브라우저 창 외부의 너비를 반환합니다.

MDN 참조

pageXOffset

MDN 참조

pageYOffset

MDN 참조

parent

이 Window.parent 속성은 현재 창 또는 하위 프레임의 부모에 대한 참조입니다.

MDN 참조

personalbar

개체를 personalbar 반환합니다.

MDN 참조

powerbi
powerBISDKGlobalServiceInstanceName
screen

Window 속성 screen 은 창과 연결된 화면 개체에 대한 참조를 반환합니다.

MDN 참조

screenLeft

읽기 전용 속성은 Window.screenLeft 사용자 브라우저 뷰포트의 왼쪽 테두리에서 화면 왼쪽까지의 가로 거리(CSS 픽셀)를 반환합니다.

MDN 참조

screenTop

읽기 전용 속성은 Window.screenTop 사용자 브라우저 뷰포트의 위쪽 테두리에서 화면 위쪽까지의 세로 거리(CSS 픽셀)를 반환합니다.

MDN 참조

screenX

읽기 전용 속성은 Window.screenX 사용자의 브라우저 뷰포트 왼쪽 테두리의 가로 거리(CSS 픽셀)를 화면 왼쪽에 반환합니다.

MDN 참조

screenY

읽기 전용 속성은 Window.screenY 사용자 브라우저 뷰포트의 위쪽 테두리에서 화면 위쪽 가장자리까지의 세로 거리(CSS 픽셀)를 반환합니다.

MDN 참조

scrollbars

개체를 scrollbars 반환합니다.

MDN 참조

scrollX

Window 인터페이스의 읽기 전용 scrollX 속성은 문서가 현재 가로로 스크롤되는 픽셀 수를 반환합니다.

MDN 참조

scrollY

Window 인터페이스의 읽기 전용 scrollY 속성은 문서가 현재 세로로 스크롤되는 픽셀 수를 반환합니다.

MDN 참조

self

읽기 전용 속성은 Window.self WindowProxy로 창 자체를 반환합니다.

MDN 참조

speechSynthesis

Window 개체의 읽기 전용 속성은 speechSynthesis Web Speech API 음성 합성 기능을 사용하는 진입점인 SpeechSynthesis 개체를 반환합니다.

MDN 참조

status

status 브라우저 창 아래쪽에 있는 막대의 속성입니다.

statusbar

개체를 statusbar 반환합니다.

MDN 참조

toolbar

개체를 toolbar 반환합니다.

MDN 참조

top

창 계층 구조에서 맨 위 창에 대한 참조를 반환합니다.

MDN 참조

visualViewport

Window 인터페이스의 읽기 전용 속성은 visualViewport 지정된 창의 시각적 뷰포트를 나타내는 VisualViewport 개체를 반환하거나 null 현재 문서가 완전히 활성화되지 않은 경우 반환합니다.

MDN 참조

window

Window 개체의 속성은 window 창 개체 자체를 가리킵니다.

MDN 참조

상속된 속성

caches

보안 컨텍스트에서만 사용할 수 있습니다.

MDN 참조

crossOriginIsolated

MDN 참조

crypto

MDN 참조

indexedDB

MDN 참조

isSecureContext

MDN 참조

localStorage

MDN 참조

onabort

MDN 참조

onafterprint

MDN 참조

onanimationcancel

MDN 참조

onanimationend

MDN 참조

onanimationiteration

MDN 참조

onanimationstart

MDN 참조

onauxclick

MDN 참조

onbeforeinput

MDN 참조

onbeforematch

MDN 참조

onbeforeprint

MDN 참조

onbeforetoggle

MDN 참조

onbeforeunload

MDN 참조

onblur

MDN 참조

oncancel

MDN 참조

oncanplay

MDN 참조

oncanplaythrough

MDN 참조

onchange

MDN 참조

onclick

MDN 참조

onclose

MDN 참조

oncontextlost

MDN 참조

oncontextmenu

MDN 참조

oncontextrestored

MDN 참조

oncopy

MDN 참조

oncuechange

MDN 참조

oncut

MDN 참조

ondblclick

MDN 참조

ondrag

MDN 참조

ondragend

MDN 참조

ondragenter

MDN 참조

ondragleave

MDN 참조

ondragover

MDN 참조

ondragstart

MDN 참조

ondrop

MDN 참조

ondurationchange

MDN 참조

onemptied

MDN 참조

onended

MDN 참조

onerror

MDN 참조

onfocus

MDN 참조

onformdata

MDN 참조

ongamepadconnected

MDN 참조

ongamepaddisconnected

MDN 참조

ongotpointercapture

MDN 참조

onhashchange

MDN 참조

oninput

MDN 참조

oninvalid

MDN 참조

onkeydown

MDN 참조

onkeypress
onkeyup

MDN 참조

onlanguagechange

MDN 참조

onload

MDN 참조

onloadeddata

MDN 참조

onloadedmetadata

MDN 참조

onloadstart

MDN 참조

onlostpointercapture

MDN 참조

onmessage

MDN 참조

onmessageerror

MDN 참조

onmousedown

MDN 참조

onmouseenter

MDN 참조

onmouseleave

MDN 참조

onmousemove

MDN 참조

onmouseout

MDN 참조

onmouseover

MDN 참조

onmouseup

MDN 참조

onoffline

MDN 참조

ononline

MDN 참조

onpagehide

MDN 참조

onpagereveal

MDN 참조

onpageshow

MDN 참조

onpageswap

MDN 참조

onpaste

MDN 참조

onpause

MDN 참조

onplay

MDN 참조

onplaying

MDN 참조

onpointercancel

MDN 참조

onpointerdown

MDN 참조

onpointerenter

MDN 참조

onpointerleave

MDN 참조

onpointermove

MDN 참조

onpointerout

MDN 참조

onpointerover

MDN 참조

onpointerrawupdate

보안 컨텍스트에서만 사용할 수 있습니다.

MDN 참조

onpointerup

MDN 참조

onpopstate

MDN 참조

onprogress

MDN 참조

onratechange

MDN 참조

onrejectionhandled

MDN 참조

onreset

MDN 참조

onresize

MDN 참조

onscroll

MDN 참조

onscrollend

MDN 참조

onsecuritypolicyviolation

MDN 참조

onseeked

MDN 참조

onseeking

MDN 참조

onselect

MDN 참조

onselectionchange

MDN 참조

onselectstart

MDN 참조

onslotchange

MDN 참조

onstalled

MDN 참조

onstorage

MDN 참조

onsubmit

MDN 참조

onsuspend

MDN 참조

ontimeupdate

MDN 참조

ontoggle

MDN 참조

ontouchcancel

MDN 참조

ontouchend

MDN 참조

ontouchmove

MDN 참조

ontouchstart

MDN 참조

ontransitioncancel

MDN 참조

ontransitionend

MDN 참조

ontransitionrun

MDN 참조

ontransitionstart

MDN 참조

onunhandledrejection

MDN 참조

onunload
onvolumechange

MDN 참조

onwaiting

MDN 참조

onwebkitanimationend
onwebkitanimationiteration
onwebkitanimationstart
onwebkittransitionend
onwheel

MDN 참조

origin

MDN 참조

performance

MDN 참조

sessionStorage

MDN 참조

메서드

addEventListener(string, EventListenerOrEventListenerObject, boolean | AddEventListenerOptions)
addEventListener<K>(K, (this: Window, ev: WindowEventMap[K]) => any, boolean | AddEventListenerOptions)

EventTarget 인터페이스의 메서드는 addEventListener() 지정된 이벤트가 대상에 배달될 때마다 호출되는 함수를 설정합니다.

MDN 참조

alert(any)

window.alert() 는 선택적 메시지가 포함된 대화 상자를 표시하고 사용자가 대화 상자를 해제할 때까지 기다리도록 브라우저에 지시합니다.

MDN 참조

blur()

메서드는 Window.blur() 아무 것도 수행하지 않습니다.

cancelIdleCallback(number)

이 메서드는 window.cancelIdleCallback() window.requestIdleCallback()으로 이전에 예약된 콜백을 취소합니다.

MDN 참조

captureEvents()

메서드는 Window.captureEvents() 아무 것도 수행하지 않습니다.

close()

메서드는 Window.close() 현재 창 또는 호출된 창을 닫습니다.

MDN 참조

confirm(string)

window.confirm() 는 선택적 메시지가 포함된 대화 상자를 표시하고 사용자가 대화 상자를 확인하거나 취소할 때까지 기다리도록 브라우저에 지시합니다.

MDN 참조

focus()

창을 맨 앞으로 가져오도록 요청합니다.

MDN 참조

getComputedStyle(Element, string | null)

이 메서드는 Window.getComputedStyle() 활성 스타일시트를 적용하고 해당 값에 포함될 수 있는 기본 계산을 확인한 후 요소의 모든 CSS 속성 값이 포함된 개체를 반환합니다.

MDN 참조

getSelection()

Window 인터페이스의 메서드는 getSelection() 사용자가 선택한 텍스트 범위 또는 캐럿의 현재 위치를 나타내는 창의 문서와 연결된 Selection 개체를 반환합니다.

MDN 참조

matchMedia(string)

Window 인터페이스의 matchMedia() 메서드는 새 MediaQueryList 개체를 반환하며, 이 개체를 사용하여 문서가 미디어 쿼리 문자열과 일치하는지 확인하고 문서를 모니터링하여 해당 미디어 쿼리와 일치하는지(또는 일치를 중지하는지) 감지할 수 있습니다.

MDN 참조

moveBy(number, number)

Window 인터페이스의 메서드는 moveBy() 현재 창을 지정된 양만큼 이동합니다.

MDN 참조

moveTo(number, number)

창 인터페이스의 메서드는 moveTo() 현재 창을 지정된 좌표로 이동합니다.

MDN 참조

open(string | URL, string, string)

인터페이스 메서드 Window 는 open() 지정된 리소스를 지정된 이름 아래의 새 또는 기존 검색 컨텍스트(즉, 탭, 창 또는 iframe)로 로드합니다.

MDN 참조

postMessage(any, string, Transferable[])

이 메서드는 window.postMessage() Window 개체 간의 원본 간 통신을 안전하게 사용하도록 설정합니다. 예를 들어 생성된 페이지와 팝업 사이 또는 페이지와 페이지 내에 포함된 iframe 사이에 있습니다.

MDN 참조

postMessage(any, WindowPostMessageOptions)
print()

인쇄 대화 상자를 열어 현재 문서를 인쇄합니다.

MDN 참조

prompt(string, string)

window.prompt() 는 사용자에게 일부 텍스트를 입력하라는 선택적 메시지가 포함된 대화 상자를 표시하고 사용자가 텍스트를 제출하거나 대화 상자를 취소할 때까지 기다리도록 브라우저에 지시합니다.

MDN 참조

releaseEvents()

특정 형식의 이벤트를 트래핑하지 않도록 창을 해제합니다.

removeEventListener(string, EventListenerOrEventListenerObject, boolean | EventListenerOptions)
removeEventListener<K>(K, (this: Window, ev: WindowEventMap[K]) => any, boolean | EventListenerOptions)

EventTarget 인터페이스의 메서드는 removeEventListener() 이전에 EventTarget.addEventListener()에 등록된 이벤트 수신기를 대상에서 제거합니다.

MDN 참조

requestIdleCallback(IdleRequestCallback, IdleRequestOptions)

메서드는 window.requestIdleCallback() 브라우저의 유휴 기간 동안 호출할 함수를 큐에 대기합니다.

MDN 참조

resizeBy(number, number)

이 메서드는 Window.resizeBy() 현재 창의 크기를 지정된 양만큼 조정합니다.

MDN 참조

resizeTo(number, number)

메서드는 Window.resizeTo() 창의 크기를 동적으로 조정합니다.

MDN 참조

scroll(number, number)
scroll(ScrollToOptions)

메서드는 Window.scroll() 문서의 특정 위치로 창을 스크롤합니다.

MDN 참조

scrollBy(number, number)
scrollBy(ScrollToOptions)

이 메서드는 Window.scrollBy() 창의 문서를 지정된 양만큼 스크롤합니다.

MDN 참조

scrollTo(number, number)
scrollTo(ScrollToOptions)

Window.scrollTo() 는 문서의 특정 좌표 집합으로 스크롤됩니다.

MDN 참조

stop()

브라우저의 window.stop() 중지 단추와 동일한 현재 검색 컨텍스트에서 추가 리소스 로드를 중지합니다.

MDN 참조

속성 세부 정보

clientInformation

경고

이 API는 이제 사용되지 않습니다.

This is a legacy alias of navigator.

MDN Reference

clientInformation: Navigator

속성 값

Navigator

closed

읽기 전용 속성은 Window.closed 참조된 창이 닫혀 있는지 여부를 나타냅니다.

MDN 참조

closed: boolean

속성 값

boolean

cookieStore

Window 인터페이스의 읽기 전용 속성은 cookieStore 현재 문서 컨텍스트에 대한 CookieStore 개체에 대한 참조를 반환합니다.

MDN 참조

cookieStore: CookieStore

속성 값

CookieStore

customElements

Window 인터페이스의 읽기 전용 속성은 customElements 새 사용자 지정 요소를 등록하고 이전에 등록된 사용자 지정 요소에 대한 정보를 가져오는 데 사용할 수 있는 CustomElementRegistry 개체에 대한 참조를 반환합니다.

MDN 참조

customElements: CustomElementRegistry

속성 값

CustomElementRegistry

devicePixelRatio

Of Window 인터페이스는 devicePixelRatio 현재 디스플레이 디바이스의 CSS 픽셀 해상도와 실제 픽셀의 해상도 비율을 반환합니다.

MDN 참조

devicePixelRatio: number

속성 값

number

document

window.document 는 창에 포함된 문서에 대한 참조를 반환합니다.

MDN 참조

document: Document

속성 값

event

경고

이 API는 이제 사용되지 않습니다.

MDN Reference

읽기 전용 Window 속성 event 은 현재 사이트 코드에서 처리 중인 이벤트를 반환합니다.

event: Event | undefined

속성 값

Event | undefined

external

경고

이 API는 이제 사용되지 않습니다.

MDN Reference

Window API의 속성은 external 브라우저에 외부 검색 공급자를 추가하는 데 관련된 함수를 포함하기 위한 인터페이스의 External 인스턴스를 반환합니다.

external: External

속성 값

External

frameElement

이 속성은 Window.frameElement 창이 포함된 요소(예: iframe 또는 개체)를 반환합니다.

MDN 참조

frameElement: Element | null

속성 값

Element | null

frames

현재 창의 직접 하위 프레임을 나열하는 배열과 같은 개체인 창 자체를 반환합니다.

MDN 참조

frames: Window

속성 값

history

읽기 전용 속성은 Window.history 브라우저 세션 기록 (현재 페이지가 로드된 탭 또는 프레임에서 방문한 페이지)을 조작하기 위한 인터페이스를 제공하는 History 개체에 대한 참조를 반환합니다.

MDN 참조

history: History

속성 값

History

innerHeight

가로 스크롤 막대의 높이(있는 경우)를 포함하는 읽기 전용 innerHeight 속성입니다.

MDN 참조

innerHeight: number

속성 값

number

innerWidth

읽기 전용 Window 속성 innerWidth 은 창의 내부 너비(즉, 창 레이아웃 뷰포트의 너비)를 픽셀 단위로 반환합니다.

MDN 참조

innerWidth: number

속성 값

number

length

프레임 수(프레임 또는 A)를 반환합니다.

MDN 참조

length: number

속성 값

number

location

읽기 전용 속성은 Window.location 문서의 현재 위치에 대한 정보가 포함된 Location 개체를 반환합니다.

MDN 참조

Location location

속성 값

Location

locationbar

개체를 locationbar 반환합니다.

MDN 참조

locationbar: BarProp

속성 값

BarProp

menubar

개체를 menubar 반환합니다.

MDN 참조

menubar: BarProp

속성 값

BarProp

msCrypto

msCrypto: Crypto

속성 값

Crypto

name

이 속성은 Window.name 창의 검색 컨텍스트 이름을 가져오거나 설정합니다.

MDN 참조

name: string

속성 값

string

navigator

읽기 전용 속성은 Window.navigator 스크립트를 실행하는 애플리케이션에 대한 메서드와 속성이 있는 Navigator 개체에 대한 참조를 반환합니다.

MDN 참조

navigator: Navigator

속성 값

Navigator

ondevicemotion

보안 컨텍스트에서만 사용할 수 있습니다.

MDN 참조

ondevicemotion: (this: Window, ev: DeviceMotionEvent) => any | null

속성 값

(this: Window, ev: DeviceMotionEvent) => any | null

ondeviceorientation

보안 컨텍스트에서만 사용할 수 있습니다.

MDN 참조

ondeviceorientation: (this: Window, ev: DeviceOrientationEvent) => any | null

속성 값

(this: Window, ev: DeviceOrientationEvent) => any | null

ondeviceorientationabsolute

보안 컨텍스트에서만 사용할 수 있습니다.

MDN 참조

ondeviceorientationabsolute: (this: Window, ev: DeviceOrientationEvent) => any | null

속성 값

(this: Window, ev: DeviceOrientationEvent) => any | null

onorientationchange

경고

이 API는 이제 사용되지 않습니다.

MDN Reference

onorientationchange: (this: Window, ev: Event) => any | null

속성 값

(this: Window, ev: Event) => any | null

opener

Window 인터페이스의 opener 속성은 Window.open을 사용하여 또는 특성이 있는 링크를 탐색하여 창을 연 창에 대한 참조를 target 반환합니다.

MDN 참조

opener: any

속성 값

any

orientation

경고

이 API는 이제 사용되지 않습니다.

MDN Reference

디바이스의 자연 방향을 기준으로 뷰포트의 방향을 90도 단위로 반환합니다.

orientation: number

속성 값

number

originAgentCluster

창 인터페이스의 읽기 전용 속성은 originAgentCluster 이 창이 원본 키 에이전트 클러스터에 속하는 경우 반환 true 됩니다. 즉, 운영 체제가 다른 원본의 창과 공유되지 않는 이 창의 원본에 전용 리소스(예: 운영 체제 프로세스)를 제공했음을 의미합니다.

MDN 참조

originAgentCluster: boolean

속성 값

boolean

outerHeight

읽기 전용 속성은 Window.outerHeight 사이드바, 창 크롬 및 창 크기 조정 테두리/핸들을 포함하여 전체 브라우저 창의 높이를 픽셀 단위로 반환합니다.

MDN 참조

outerHeight: number

속성 값

number

outerWidth

Window.outerWidth 읽기 전용 속성은 브라우저 창 외부의 너비를 반환합니다.

MDN 참조

outerWidth: number

속성 값

number

pageXOffset

MDN 참조

pageXOffset: number

속성 값

number

pageYOffset

MDN 참조

pageYOffset: number

속성 값

number

parent

이 Window.parent 속성은 현재 창 또는 하위 프레임의 부모에 대한 참조입니다.

MDN 참조

parent: Window

속성 값

personalbar

개체를 personalbar 반환합니다.

MDN 참조

personalbar: BarProp

속성 값

BarProp

powerbi

powerbi: Service

속성 값

powerBISDKGlobalServiceInstanceName

powerBISDKGlobalServiceInstanceName?: string

속성 값

string

screen

Window 속성 screen 은 창과 연결된 화면 개체에 대한 참조를 반환합니다.

MDN 참조

screen: Screen

속성 값

Screen

screenLeft

읽기 전용 속성은 Window.screenLeft 사용자 브라우저 뷰포트의 왼쪽 테두리에서 화면 왼쪽까지의 가로 거리(CSS 픽셀)를 반환합니다.

MDN 참조

screenLeft: number

속성 값

number

screenTop

읽기 전용 속성은 Window.screenTop 사용자 브라우저 뷰포트의 위쪽 테두리에서 화면 위쪽까지의 세로 거리(CSS 픽셀)를 반환합니다.

MDN 참조

screenTop: number

속성 값

number

screenX

읽기 전용 속성은 Window.screenX 사용자의 브라우저 뷰포트 왼쪽 테두리의 가로 거리(CSS 픽셀)를 화면 왼쪽에 반환합니다.

MDN 참조

screenX: number

속성 값

number

screenY

읽기 전용 속성은 Window.screenY 사용자 브라우저 뷰포트의 위쪽 테두리에서 화면 위쪽 가장자리까지의 세로 거리(CSS 픽셀)를 반환합니다.

MDN 참조

screenY: number

속성 값

number

scrollbars

개체를 scrollbars 반환합니다.

MDN 참조

scrollbars: BarProp

속성 값

BarProp

scrollX

Window 인터페이스의 읽기 전용 scrollX 속성은 문서가 현재 가로로 스크롤되는 픽셀 수를 반환합니다.

MDN 참조

scrollX: number

속성 값

number

scrollY

Window 인터페이스의 읽기 전용 scrollY 속성은 문서가 현재 세로로 스크롤되는 픽셀 수를 반환합니다.

MDN 참조

scrollY: number

속성 값

number

self

읽기 전용 속성은 Window.self WindowProxy로 창 자체를 반환합니다.

MDN 참조

self: Window & typeof globalThis

속성 값

Window & typeof globalThis

speechSynthesis

Window 개체의 읽기 전용 속성은 speechSynthesis Web Speech API 음성 합성 기능을 사용하는 진입점인 SpeechSynthesis 개체를 반환합니다.

MDN 참조

speechSynthesis: SpeechSynthesis

속성 값

SpeechSynthesis

status

경고

이 API는 이제 사용되지 않습니다.

MDN Reference

status 브라우저 창 아래쪽에 있는 막대의 속성입니다.

status: string

속성 값

string

statusbar

개체를 statusbar 반환합니다.

MDN 참조

statusbar: BarProp

속성 값

BarProp

toolbar

개체를 toolbar 반환합니다.

MDN 참조

toolbar: BarProp

속성 값

BarProp

top

창 계층 구조에서 맨 위 창에 대한 참조를 반환합니다.

MDN 참조

top: Window | null

속성 값

Window | null

visualViewport

Window 인터페이스의 읽기 전용 속성은 visualViewport 지정된 창의 시각적 뷰포트를 나타내는 VisualViewport 개체를 반환하거나 null 현재 문서가 완전히 활성화되지 않은 경우 반환합니다.

MDN 참조

visualViewport: VisualViewport | null

속성 값

VisualViewport | null

window

Window 개체의 속성은 window 창 개체 자체를 가리킵니다.

MDN 참조

window: Window & typeof globalThis

속성 값

Window & typeof globalThis

상속된 속성 세부 정보

caches

보안 컨텍스트에서만 사용할 수 있습니다.

MDN 참조

caches: CacheStorage

속성 값

CacheStorage

WindowOrWorkerGlobalScope.caches에서 상속된

crossOriginIsolated

MDN 참조

crossOriginIsolated: boolean

속성 값

boolean

WindowOrWorkerGlobalScope.crossOriginIsolated에서 상속된

crypto

MDN 참조

crypto: Crypto

속성 값

Crypto

WindowOrWorkerGlobalScope.crypto에서 상속된

indexedDB

MDN 참조

indexedDB: IDBFactory

속성 값

IDBFactory

WindowOrWorkerGlobalScope.indexedDB에서 상속된

isSecureContext

MDN 참조

isSecureContext: boolean

속성 값

boolean

WindowOrWorkerGlobalScope.isSecureContext에서 상속된

localStorage

MDN 참조

localStorage: Storage

속성 값

Storage

WindowLocalStorage.localStorage에서 상속된

onabort

MDN 참조

onabort: (this: GlobalEventHandlers, ev: UIEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: UIEvent) => any | null

GlobalEventHandlers.onabort에서 상속된

onafterprint

MDN 참조

onafterprint: (this: WindowEventHandlers, ev: Event) => any | null

속성 값

(this: WindowEventHandlers, ev: Event) => any | null

WindowEventHandlers.onafterprint에서 상속된

onanimationcancel

MDN 참조

onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: AnimationEvent) => any | null

GlobalEventHandlers.onanimationcancel에서 상속된

onanimationend

MDN 참조

onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: AnimationEvent) => any | null

GlobalEventHandlers.onanimationend에서 상속된

onanimationiteration

MDN 참조

onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: AnimationEvent) => any | null

GlobalEventHandlers.onanimationiteration에서 상속된

onanimationstart

MDN 참조

onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: AnimationEvent) => any | null

GlobalEventHandlers.onanimationstart에서 상속된

onauxclick

MDN 참조

onauxclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onauxclick에서 상속된

onbeforeinput

MDN 참조

onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: InputEvent) => any | null

GlobalEventHandlers.onbeforeinput에서 상속된

onbeforematch

MDN 참조

onbeforematch: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

상속된 개체 GlobalEventHandlers.onbeforematch

onbeforeprint

MDN 참조

onbeforeprint: (this: WindowEventHandlers, ev: Event) => any | null

속성 값

(this: WindowEventHandlers, ev: Event) => any | null

WindowEventHandlers.onbeforeprint에서 상속된

onbeforetoggle

MDN 참조

onbeforetoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: ToggleEvent) => any | null

상속된 개체 GlobalEventHandlers.onbeforetoggle

onbeforeunload

MDN 참조

onbeforeunload: (this: WindowEventHandlers, ev: BeforeUnloadEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: BeforeUnloadEvent) => any | null

WindowEventHandlers.onbeforeunload에서 상속된

onblur

MDN 참조

onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: FocusEvent) => any | null

GlobalEventHandlers.onblur에서 상속된

oncancel

MDN 참조

oncancel: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.oncancel에서 상속된

oncanplay

MDN 참조

oncanplay: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.oncanplay에서 상속된

oncanplaythrough

MDN 참조

oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.oncanplaythrough에서 상속된

onchange

MDN 참조

onchange: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onchange에서 상속된

onclick

MDN 참조

onclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onclick에서 상속된

onclose

MDN 참조

onclose: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onclose에서 상속된

oncontextlost

MDN 참조

oncontextlost: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

상속된 개체 GlobalEventHandlers.oncontextlost

oncontextmenu

MDN 참조

oncontextmenu: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.oncontextmenu에서 상속된

oncontextrestored

MDN 참조

oncontextrestored: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

상속된 개체 GlobalEventHandlers.oncontextrestored

oncopy

MDN 참조

oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null

상속된 개체 GlobalEventHandlers.oncopy

oncuechange

MDN 참조

oncuechange: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.oncuechange에서 상속된

oncut

MDN 참조

oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null

상속된 개체 GlobalEventHandlers.oncut

ondblclick

MDN 참조

ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: MouseEvent) => any | null

GlobalEventHandlers.ondblclick에서 상속된

ondrag

MDN 참조

ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: DragEvent) => any | null

GlobalEventHandlers.ondrag에서 상속된

ondragend

MDN 참조

ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: DragEvent) => any | null

GlobalEventHandlers.ondragend에서 상속된

ondragenter

MDN 참조

ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: DragEvent) => any | null

GlobalEventHandlers.ondragenter에서 상속된

ondragleave

MDN 참조

ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: DragEvent) => any | null

GlobalEventHandlers.ondragleave에서 상속된

ondragover

MDN 참조

ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: DragEvent) => any | null

GlobalEventHandlers.ondragover에서 상속된

ondragstart

MDN 참조

ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: DragEvent) => any | null

GlobalEventHandlers.ondragstart에서 상속된

ondrop

MDN 참조

ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: DragEvent) => any | null

GlobalEventHandlers.ondrop에서 상속된

ondurationchange

MDN 참조

ondurationchange: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.ondurationchange에서 상속된

onemptied

MDN 참조

onemptied: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onemptied에서 상속된

onended

MDN 참조

onended: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onended에서 상속된

onerror

MDN 참조

onerror: OnErrorEventHandler

속성 값

OnErrorEventHandler

GlobalEventHandlers.onerror에서 상속된

onfocus

MDN 참조

onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: FocusEvent) => any | null

GlobalEventHandlers.onfocus에서 상속된

onformdata

MDN 참조

onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: FormDataEvent) => any | null

GlobalEventHandlers.onformdata에서 상속된

ongamepadconnected

MDN 참조

ongamepadconnected: (this: WindowEventHandlers, ev: GamepadEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: GamepadEvent) => any | null

WindowEventHandlers.ongamepadconnected에서 상속된

ongamepaddisconnected

MDN 참조

ongamepaddisconnected: (this: WindowEventHandlers, ev: GamepadEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: GamepadEvent) => any | null

WindowEventHandlers.ongamepaddisconnected에서 상속된

ongotpointercapture

MDN 참조

ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.ongotpointercapture에서 상속된

onhashchange

MDN 참조

onhashchange: (this: WindowEventHandlers, ev: HashChangeEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: HashChangeEvent) => any | null

WindowEventHandlers.onhashchange에서 상속된

oninput

MDN 참조

oninput: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.oninput에서 상속된

oninvalid

MDN 참조

oninvalid: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.oninvalid에서 상속된

onkeydown

MDN 참조

onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null

GlobalEventHandlers.onkeydown에서 상속된

onkeypress

경고

이 API는 이제 사용되지 않습니다.

MDN Reference

onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null

GlobalEventHandlers.onkeypress에서 상속된

onkeyup

MDN 참조

onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null

GlobalEventHandlers.onkeyup에서 상속된

onlanguagechange

MDN 참조

onlanguagechange: (this: WindowEventHandlers, ev: Event) => any | null

속성 값

(this: WindowEventHandlers, ev: Event) => any | null

WindowEventHandlers.onlanguagechange에서 상속된

onload

MDN 참조

onload: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onload에서 상속된

onloadeddata

MDN 참조

onloadeddata: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onloadeddata에서 상속된

onloadedmetadata

MDN 참조

onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onloadedmetadata에서 상속된

onloadstart

MDN 참조

onloadstart: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onloadstart에서 상속된

onlostpointercapture

MDN 참조

onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onlostpointercapture에서 상속된

onmessage

MDN 참조

onmessage: (this: WindowEventHandlers, ev: MessageEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: MessageEvent) => any | null

WindowEventHandlers.onmessage에서 상속됨

onmessageerror

MDN 참조

onmessageerror: (this: WindowEventHandlers, ev: MessageEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: MessageEvent) => any | null

WindowEventHandlers.onmessageerror에서 상속된

onmousedown

MDN 참조

onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: MouseEvent) => any | null

GlobalEventHandlers.onmousedown에서 상속된

onmouseenter

MDN 참조

onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: MouseEvent) => any | null

GlobalEventHandlers.onmouseenter에서 상속된

onmouseleave

MDN 참조

onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: MouseEvent) => any | null

GlobalEventHandlers.onmouseleave에서 상속된

onmousemove

MDN 참조

onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: MouseEvent) => any | null

GlobalEventHandlers.onmousemove에서 상속된

onmouseout

MDN 참조

onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: MouseEvent) => any | null

GlobalEventHandlers.onmouseout에서 상속된

onmouseover

MDN 참조

onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: MouseEvent) => any | null

GlobalEventHandlers.onmouseover에서 상속된

onmouseup

MDN 참조

onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: MouseEvent) => any | null

GlobalEventHandlers.onmouseup에서 상속된

onoffline

MDN 참조

onoffline: (this: WindowEventHandlers, ev: Event) => any | null

속성 값

(this: WindowEventHandlers, ev: Event) => any | null

WindowEventHandlers.onoffline에서 상속된

ononline

MDN 참조

ononline: (this: WindowEventHandlers, ev: Event) => any | null

속성 값

(this: WindowEventHandlers, ev: Event) => any | null

WindowEventHandlers.ononline에서 상속된

onpagehide

MDN 참조

onpagehide: (this: WindowEventHandlers, ev: PageTransitionEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: PageTransitionEvent) => any | null

WindowEventHandlers.onpagehide에서 상속된

onpagereveal

MDN 참조

onpagereveal: (this: WindowEventHandlers, ev: PageRevealEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: PageRevealEvent) => any | null

상속된 개체 WindowEventHandlers.onpagereveal

onpageshow

MDN 참조

onpageshow: (this: WindowEventHandlers, ev: PageTransitionEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: PageTransitionEvent) => any | null

WindowEventHandlers.onpageshow에서 상속된

onpageswap

MDN 참조

onpageswap: (this: WindowEventHandlers, ev: PageSwapEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: PageSwapEvent) => any | null

상속된 개체 WindowEventHandlers.onpageswap

onpaste

MDN 참조

onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null

상속된 개체 GlobalEventHandlers.onpaste

onpause

MDN 참조

onpause: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onpause에서 상속된

onplay

MDN 참조

onplay: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onplay에서 상속된

onplaying

MDN 참조

onplaying: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onplaying에서 상속된

onpointercancel

MDN 참조

onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onpointercancel에서 상속된

onpointerdown

MDN 참조

onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onpointerdown에서 상속된

onpointerenter

MDN 참조

onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onpointerenter에서 상속된

onpointerleave

MDN 참조

onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onpointerleave에서 상속된

onpointermove

MDN 참조

onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onpointermove에서 상속된

onpointerout

MDN 참조

onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onpointerout에서 상속된

onpointerover

MDN 참조

onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onpointerover에서 상속된

onpointerrawupdate

보안 컨텍스트에서만 사용할 수 있습니다.

MDN 참조

onpointerrawupdate: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

상속된 개체 GlobalEventHandlers.onpointerrawupdate

onpointerup

MDN 참조

onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: PointerEvent) => any | null

GlobalEventHandlers.onpointerup에서 상속된

onpopstate

MDN 참조

onpopstate: (this: WindowEventHandlers, ev: PopStateEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: PopStateEvent) => any | null

WindowEventHandlers.onpopstate에서 상속된

onprogress

MDN 참조

onprogress: (this: GlobalEventHandlers, ev: ProgressEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: ProgressEvent) => any | null

GlobalEventHandlers.onprogress에서 상속된

onratechange

MDN 참조

onratechange: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onratechange에서 상속된

onrejectionhandled

MDN 참조

onrejectionhandled: (this: WindowEventHandlers, ev: PromiseRejectionEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: PromiseRejectionEvent) => any | null

WindowEventHandlers.onrejectionhandled에서 상속된

onreset

MDN 참조

onreset: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onreset에서 상속된

onresize

MDN 참조

onresize: (this: GlobalEventHandlers, ev: UIEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: UIEvent) => any | null

GlobalEventHandlers.onresize에서 상속된

onscroll

MDN 참조

onscroll: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onscroll에서 상속된

onscrollend

MDN 참조

onscrollend: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

상속된 개체 GlobalEventHandlers.onscrollend

onsecuritypolicyviolation

MDN 참조

onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null

GlobalEventHandlers.onsecuritypolicyviolation에서 상속된

onseeked

MDN 참조

onseeked: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onseeked에서 상속된

onseeking

MDN 참조

onseeking: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onseeking에서 상속된

onselect

MDN 참조

onselect: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onselect에서 상속된

onselectionchange

MDN 참조

onselectionchange: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onselectionchange에서 상속된

onselectstart

MDN 참조

onselectstart: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onselectstart에서 상속된

onslotchange

MDN 참조

onslotchange: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onslotchange에서 상속된

onstalled

MDN 참조

onstalled: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onstalled에서 상속된

onstorage

MDN 참조

onstorage: (this: WindowEventHandlers, ev: StorageEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: StorageEvent) => any | null

WindowEventHandlers.onstorage에서 상속된

onsubmit

MDN 참조

onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: SubmitEvent) => any | null

GlobalEventHandlers.onsubmit에서 상속된

onsuspend

MDN 참조

onsuspend: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onsuspend에서 상속된

ontimeupdate

MDN 참조

ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.ontimeupdate에서 상속된

ontoggle

MDN 참조

ontoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: ToggleEvent) => any | null

GlobalEventHandlers.ontoggle에서 상속된

ontouchcancel

MDN 참조

ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: TouchEvent) => any | null

GlobalEventHandlers.ontouchcancel에서 상속된

ontouchend

MDN 참조

ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: TouchEvent) => any | null

GlobalEventHandlers.ontouchend에서 상속된

ontouchmove

MDN 참조

ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: TouchEvent) => any | null

GlobalEventHandlers.ontouchmove에서 상속된

ontouchstart

MDN 참조

ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: TouchEvent) => any | null

GlobalEventHandlers.ontouchstart에서 상속된

ontransitioncancel

MDN 참조

ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: TransitionEvent) => any | null

GlobalEventHandlers.ontransitioncancel에서 상속됨

ontransitionend

MDN 참조

ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: TransitionEvent) => any | null

GlobalEventHandlers.ontransitionend에서 상속됨

ontransitionrun

MDN 참조

ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: TransitionEvent) => any | null

GlobalEventHandlers.ontransitionrun에서 상속된

ontransitionstart

MDN 참조

ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: TransitionEvent) => any | null

GlobalEventHandlers.ontransitionstart에서 상속된

onunhandledrejection

MDN 참조

onunhandledrejection: (this: WindowEventHandlers, ev: PromiseRejectionEvent) => any | null

속성 값

(this: WindowEventHandlers, ev: PromiseRejectionEvent) => any | null

WindowEventHandlers.onunhandledrejection에서 상속된

onunload

경고

이 API는 이제 사용되지 않습니다.

MDN Reference

onunload: (this: WindowEventHandlers, ev: Event) => any | null

속성 값

(this: WindowEventHandlers, ev: Event) => any | null

WindowEventHandlers.onunload에서 상속된

onvolumechange

MDN 참조

onvolumechange: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onvolumechange에서 상속된

onwaiting

MDN 참조

onwaiting: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onwaiting에서 상속된

onwebkitanimationend

경고

이 API는 이제 사용되지 않습니다.

This is a legacy alias of onanimationend.

MDN Reference

onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onwebkitanimationend에서 상속된

onwebkitanimationiteration

경고

이 API는 이제 사용되지 않습니다.

This is a legacy alias of onanimationiteration.

MDN Reference

onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onwebkitanimationiteration에서 상속됩니다.

onwebkitanimationstart

경고

이 API는 이제 사용되지 않습니다.

This is a legacy alias of onanimationstart.

MDN Reference

onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onwebkitanimationstart에서 상속된

onwebkittransitionend

경고

이 API는 이제 사용되지 않습니다.

This is a legacy alias of ontransitionend.

MDN Reference

onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any | null

속성 값

(this: GlobalEventHandlers, ev: Event) => any | null

GlobalEventHandlers.onwebkittransitionend에서 상속된

onwheel

MDN 참조

onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any | null

속성 값

(this: GlobalEventHandlers, ev: WheelEvent) => any | null

GlobalEventHandlers.onwheel에서 상속된

origin

MDN 참조

origin: string

속성 값

string

WindowOrWorkerGlobalScope.origin에서 상속된

performance

MDN 참조

performance: Performance

속성 값

Performance

WindowOrWorkerGlobalScope.performance에서 상속된

sessionStorage

MDN 참조

sessionStorage: Storage

속성 값

Storage

WindowSessionStorage.sessionStorage에서 상속된

메서드 세부 정보

addEventListener(string, EventListenerOrEventListenerObject, boolean | AddEventListenerOptions)

function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)

매개 변수

type

string

listener

EventListenerOrEventListenerObject

options

boolean | AddEventListenerOptions

addEventListener<K>(K, (this: Window, ev: WindowEventMap[K]) => any, boolean | AddEventListenerOptions)

EventTarget 인터페이스의 메서드는 addEventListener() 지정된 이벤트가 대상에 배달될 때마다 호출되는 함수를 설정합니다.

MDN 참조

function addEventListener<K>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions)

매개 변수

type

K

listener

(this: Window, ev: WindowEventMap[K]) => any

options

boolean | AddEventListenerOptions

alert(any)

window.alert() 는 선택적 메시지가 포함된 대화 상자를 표시하고 사용자가 대화 상자를 해제할 때까지 기다리도록 브라우저에 지시합니다.

MDN 참조

function alert(message?: any)

매개 변수

message

any

blur()

경고

이 API는 이제 사용되지 않습니다.

MDN Reference

메서드는 Window.blur() 아무 것도 수행하지 않습니다.

function blur()

cancelIdleCallback(number)

이 메서드는 window.cancelIdleCallback() window.requestIdleCallback()으로 이전에 예약된 콜백을 취소합니다.

MDN 참조

function cancelIdleCallback(handle: number)

매개 변수

handle

number

captureEvents()

경고

이 API는 이제 사용되지 않습니다.

MDN Reference

메서드는 Window.captureEvents() 아무 것도 수행하지 않습니다.

function captureEvents()

close()

메서드는 Window.close() 현재 창 또는 호출된 창을 닫습니다.

MDN 참조

function close()

confirm(string)

window.confirm() 는 선택적 메시지가 포함된 대화 상자를 표시하고 사용자가 대화 상자를 확인하거나 취소할 때까지 기다리도록 브라우저에 지시합니다.

MDN 참조

function confirm(message?: string): boolean

매개 변수

message

string

반품

boolean

focus()

창을 맨 앞으로 가져오도록 요청합니다.

MDN 참조

function focus()

getComputedStyle(Element, string | null)

이 메서드는 Window.getComputedStyle() 활성 스타일시트를 적용하고 해당 값에 포함될 수 있는 기본 계산을 확인한 후 요소의 모든 CSS 속성 값이 포함된 개체를 반환합니다.

MDN 참조

function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration

매개 변수

elt

Element

pseudoElt

string | null

반품

CSSStyleDeclaration

getSelection()

Window 인터페이스의 메서드는 getSelection() 사용자가 선택한 텍스트 범위 또는 캐럿의 현재 위치를 나타내는 창의 문서와 연결된 Selection 개체를 반환합니다.

MDN 참조

function getSelection(): Selection | null

반품

Selection | null

matchMedia(string)

Window 인터페이스의 matchMedia() 메서드는 새 MediaQueryList 개체를 반환하며, 이 개체를 사용하여 문서가 미디어 쿼리 문자열과 일치하는지 확인하고 문서를 모니터링하여 해당 미디어 쿼리와 일치하는지(또는 일치를 중지하는지) 감지할 수 있습니다.

MDN 참조

function matchMedia(query: string): MediaQueryList

매개 변수

query

string

반품

MediaQueryList

moveBy(number, number)

Window 인터페이스의 메서드는 moveBy() 현재 창을 지정된 양만큼 이동합니다.

MDN 참조

function moveBy(x: number, y: number)

매개 변수

x

number

y

number

moveTo(number, number)

창 인터페이스의 메서드는 moveTo() 현재 창을 지정된 좌표로 이동합니다.

MDN 참조

function moveTo(x: number, y: number)

매개 변수

x

number

y

number

open(string | URL, string, string)

인터페이스 메서드 Window 는 open() 지정된 리소스를 지정된 이름 아래의 새 또는 기존 검색 컨텍스트(즉, 탭, 창 또는 iframe)로 로드합니다.

MDN 참조

function open(url?: string | URL, target?: string, features?: string): Window | null

매개 변수

url

string | URL

target

string

features

string

반품

Window | null

postMessage(any, string, Transferable[])

이 메서드는 window.postMessage() Window 개체 간의 원본 간 통신을 안전하게 사용하도록 설정합니다. 예를 들어 생성된 페이지와 팝업 사이 또는 페이지와 페이지 내에 포함된 iframe 사이에 있습니다.

MDN 참조

function postMessage(message: any, targetOrigin: string, transfer?: Transferable[])

매개 변수

message

any

targetOrigin

string

transfer

Transferable[]

postMessage(any, WindowPostMessageOptions)

function postMessage(message: any, options?: WindowPostMessageOptions)

매개 변수

message

any

options

WindowPostMessageOptions

print()

인쇄 대화 상자를 열어 현재 문서를 인쇄합니다.

MDN 참조

function print()

prompt(string, string)

window.prompt() 는 사용자에게 일부 텍스트를 입력하라는 선택적 메시지가 포함된 대화 상자를 표시하고 사용자가 텍스트를 제출하거나 대화 상자를 취소할 때까지 기다리도록 브라우저에 지시합니다.

MDN 참조

function prompt(message?: string, _default?: string): string | null

매개 변수

message

string

_default

string

반품

string | null

releaseEvents()

경고

이 API는 이제 사용되지 않습니다.

MDN Reference

특정 형식의 이벤트를 트래핑하지 않도록 창을 해제합니다.

function releaseEvents()

removeEventListener(string, EventListenerOrEventListenerObject, boolean | EventListenerOptions)

function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)

매개 변수

type

string

listener

EventListenerOrEventListenerObject

options

boolean | EventListenerOptions

removeEventListener<K>(K, (this: Window, ev: WindowEventMap[K]) => any, boolean | EventListenerOptions)

EventTarget 인터페이스의 메서드는 removeEventListener() 이전에 EventTarget.addEventListener()에 등록된 이벤트 수신기를 대상에서 제거합니다.

MDN 참조

function removeEventListener<K>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions)

매개 변수

type

K

listener

(this: Window, ev: WindowEventMap[K]) => any

options

boolean | EventListenerOptions

requestIdleCallback(IdleRequestCallback, IdleRequestOptions)

메서드는 window.requestIdleCallback() 브라우저의 유휴 기간 동안 호출할 함수를 큐에 대기합니다.

MDN 참조

function requestIdleCallback(callback: IdleRequestCallback, options?: IdleRequestOptions): number

매개 변수

callback

IdleRequestCallback

options

IdleRequestOptions

반품

number

resizeBy(number, number)

이 메서드는 Window.resizeBy() 현재 창의 크기를 지정된 양만큼 조정합니다.

MDN 참조

function resizeBy(x: number, y: number)

매개 변수

x

number

y

number

resizeTo(number, number)

메서드는 Window.resizeTo() 창의 크기를 동적으로 조정합니다.

MDN 참조

function resizeTo(width: number, height: number)

매개 변수

width

number

height

number

scroll(number, number)

function scroll(x: number, y: number)

매개 변수

x

number

y

number

scroll(ScrollToOptions)

메서드는 Window.scroll() 문서의 특정 위치로 창을 스크롤합니다.

MDN 참조

function scroll(options?: ScrollToOptions)

매개 변수

options

ScrollToOptions

scrollBy(number, number)

function scrollBy(x: number, y: number)

매개 변수

x

number

y

number

scrollBy(ScrollToOptions)

이 메서드는 Window.scrollBy() 창의 문서를 지정된 양만큼 스크롤합니다.

MDN 참조

function scrollBy(options?: ScrollToOptions)

매개 변수

options

ScrollToOptions

scrollTo(number, number)

function scrollTo(x: number, y: number)

매개 변수

x

number

y

number

scrollTo(ScrollToOptions)

Window.scrollTo() 는 문서의 특정 좌표 집합으로 스크롤됩니다.

MDN 참조

function scrollTo(options?: ScrollToOptions)

매개 변수

options

ScrollToOptions

stop()

브라우저의 window.stop() 중지 단추와 동일한 현재 검색 컨텍스트에서 추가 리소스 로드를 중지합니다.

MDN 참조

function stop()

상속된 메서드 세부 정보

atob(string)

MDN 참조

function atob(data: string): string

매개 변수

data

string

반품

string

WindowOrWorkerGlobalScope.atob에서 상속된

btoa(string)

MDN 참조

function btoa(data: string): string

매개 변수

data

string

반품

string

WindowOrWorkerGlobalScope.btoa에서 상속된

cancelAnimationFrame(number)

MDN 참조

function cancelAnimationFrame(handle: number)

매개 변수

handle

number

AnimationFrameProvider.cancelAnimationFrame에서 상속된

clearInterval(number | undefined)

MDN 참조

function clearInterval(id: number | undefined)

매개 변수

id

number | undefined

WindowOrWorkerGlobalScope.clearInterval에서 상속된

clearTimeout(number | undefined)

MDN 참조

function clearTimeout(id: number | undefined)

매개 변수

id

number | undefined

WindowOrWorkerGlobalScope.clearTimeout에서 상속된

createImageBitmap(ImageBitmapSource, ImageBitmapOptions)

MDN 참조

function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>

매개 변수

image

ImageBitmapSource

options

ImageBitmapOptions

반품

Promise<ImageBitmap>

WindowOrWorkerGlobalScope.createImageBitmap에서 상속된

createImageBitmap(ImageBitmapSource, number, number, number, number, ImageBitmapOptions)

function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>

매개 변수

image

ImageBitmapSource

sx

number

sy

number

sw

number

sh

number

options

ImageBitmapOptions

반품

Promise<ImageBitmap>

WindowOrWorkerGlobalScope.createImageBitmap에서 상속된

dispatchEvent(Event)

EventTarget의 메서드는 dispatchEvent() 영향을 받는 이벤트 수신기를 적절한 순서로 호출하는 이벤트를 개체에(동기적으로) 보냅니다.

MDN 참조

function dispatchEvent(event: Event): boolean

매개 변수

event

Event

반품

boolean

EventTarget.dispatchEvent에서 상속된

fetch(URL | RequestInfo, RequestInit)

MDN 참조

function fetch(input: URL | RequestInfo, init?: RequestInit): Promise<Response>

매개 변수

input

URL | RequestInfo

init

RequestInit

반품

Promise<Response>

WindowOrWorkerGlobalScope.fetch에서 상속된

queueMicrotask(VoidFunction)

MDN 참조

function queueMicrotask(callback: VoidFunction)

매개 변수

callback

VoidFunction

WindowOrWorkerGlobalScope.queueMicrotask에서 상속된

reportError(any)

MDN 참조

function reportError(e: any)

매개 변수

e

any

WindowOrWorkerGlobalScope.reportError에서 상속된

requestAnimationFrame(FrameRequestCallback)

MDN 참조

function requestAnimationFrame(callback: FrameRequestCallback): number

매개 변수

callback

FrameRequestCallback

반품

number

AnimationFrameProvider.requestAnimationFrame에서 상속된

setInterval(TimerHandler, number, any[])

MDN 참조

function setInterval(handler: TimerHandler, timeout?: number, arguments: any[]): number

매개 변수

handler

TimerHandler

timeout

number

arguments

any[]

반품

number

WindowOrWorkerGlobalScope.setInterval에서 상속된

setTimeout(TimerHandler, number, any[])

MDN 참조

function setTimeout(handler: TimerHandler, timeout?: number, arguments: any[]): number

매개 변수

handler

TimerHandler

timeout

number

arguments

any[]

반품

number

WindowOrWorkerGlobalScope.setTimeout에서 상속된

structuredClone<T>(T, StructuredSerializeOptions)

MDN 참조

function structuredClone<T>(value: T, options?: StructuredSerializeOptions): T

매개 변수

value

T

options

StructuredSerializeOptions

반품

T

WindowOrWorkerGlobalScope.structuredClone에서 상속된