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

io.scalajs.dom.event.FrameObjectEvents.scala Maven / Gradle / Ivy

There is a newer version: 0.4.2
Show newest version
package io.scalajs.dom.event

import scala.scalajs.js

/**
  * Frame/Object Events
  * @author [email protected]
  */
@js.native
trait FrameObjectEvents extends js.Object {

  /**
    * The event occurs when the loading of a resource has been aborted
    */
  def onabort(callback: js.Function): Unit = js.native

  /**
    * The event occurs before the document is about to be unloaded
    */
  def onbeforeunload(callback: js.Function): Unit = js.native

  /**
    * The event occurs when an error occurs while loading an external file
    */
  def onerror(callback: js.Function): Unit = js.native

  /**
    * The event occurs when there has been changes to the anchor part of a URL
    */
  def onhashchange(callback: js.Function): Unit = js.native

  /**
    * The event occurs when an object has loaded
    */
  def onload(callback: js.Function): Unit = js.native

  /**
    * The event occurs when the user navigates to a webpage
    */
  def onpageshow(callback: js.Function): Unit = js.native

  /**
    * The event occurs when the user navigates away from a webpage
    */
  def onpagehide(callback: js.Function): Unit = js.native

  /**
    * The event occurs when the document view is resized
    */
  def onresize(callback: js.Function): Unit = js.native

  /**
    * The event occurs when an element's scrollbar is being scrolled
    */
  def onscroll(callback: js.Function): Unit = js.native

  /**
    * The event occurs once a page has unloaded (for )
    */
  def onunload(callback: js.Function): Unit = js.native

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy