All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.olvind.mui.std.PageTransitionEvent.scala Maven / Gradle / Ivy

The newest version!
package com.olvind.mui.std

import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

/** The PageTransitionEvent is fired when a document is being loaded or unloaded. */
@js.native
trait PageTransitionEvent
  extends StObject
     with Event {
  
  /**
    * For the pageshow event, returns false if the page is newly being loaded (and the load event will fire). Otherwise, returns true.
    *
    * For the pagehide event, returns false if the page is going away for the last time. Otherwise, returns true, meaning that (if nothing conspires to make the page unsalvageable) the page might be reused if the user navigates back to this page.
    *
    * Things that can cause the page to be unsalvageable include:
    *
    * Listening for beforeunload events
    * Listening for unload events
    * Having iframes that are not salvageable
    * Active WebSocket objects
    * Aborting a Document
    */
  /* standard dom */
  val persisted: Boolean = js.native
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy