JavaScript Indexing

settings_applicationsEvent  >   settings_applicationsWebGLContextEvent

{object_name}

Editing

Eventcontextlost

Details

유저 에이전트가 CanvasRenderingContext2D 컨텍스트와 연결된 지원 저장소가 손실되었음을 감지하면 이벤트가 시작된다.

구문

형식
htmlCanvasElement.addEventListener("contextlost", (e) => { })

명세

typecontextlost
handleroncontextlost

전역 이벤트 핸들러 지원

GlobalEventHandlers.oncontextlost

지원 웹브라우저