Window

settings_applicationsEventTarget  >   settings_applicationsWindow

Window

Editing
  • settings_backup_restore
  • bug_report

Eventpageshow

insert_drive_filePageTransitionEventinterfaceopen_in_new
PageTransitionEvent interface는 Window에서 pageshow 이벤트 타입으로 구현된다.

Window의 pageshow는 PageTransitionEvent interface의 이벤트 타입이고 이벤트 리스너에서 사용된다.

기본 개요

세션 기록 항목에 의해서 페이지가 보여질 때 발생한다.

구문

형식
window.addEventListener("pageshow", function() { });

PageTransitionEvent 예제 보기

window.addEventListener("pageshow", () => { alert("pageshow"); });

명세

typepageshow
bubblesno
cancelableno
targetwindow
handleryes

버전 명세

HTML Standard API
#event-pageshow

지원 웹브라우저