PopStateEvent.idl 454 B

123456789101112131415
  1. #import <DOM/Event.idl>
  2. // https://html.spec.whatwg.org/multipage/nav-history-apis.html#popstateevent
  3. [Exposed=Window]
  4. interface PopStateEvent : Event {
  5. constructor(DOMString type, optional PopStateEventInit eventInitDict = {});
  6. readonly attribute any state;
  7. [FIXME] readonly attribute boolean hasUAVisualTransition;
  8. };
  9. dictionary PopStateEventInit : EventInit {
  10. any state = null;
  11. // FIXME: boolean hasUAVisualTransition = false;
  12. };