Mixin and Primitive Interface

settings_applicationsWindowEventHandlers

Mixin and Primitive Interface

Editing
  • settings_backup_restore
  • bug_report

Event handleronpageshow

insert_drive_filePageTransitionEventinterfaceopen_in_new
PageTransitionEvent interface의 pageshow 이벤트는 WindowEventHandlers의 onpageshow 핸들러에 의해 구현된다.

WindowEventHandlers의 onpageshow는(은) PageTransitionEvent interface의 pageshow 이벤트 타입의 핸들러이고 이벤트 리스너로 사용된다.

기본 개요

구문

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

PageTransitionEvent 예제 보기

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

명세

typepageshow
bubblesno
cancelableno
targetwindow
handleryes

지원 웹브라우저