WindowTimers

@native @JSType
trait WindowTimers extends Object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def clearInterval(handle: Int): Unit

Cancels repeated action which was set up using setInterval.

Cancels repeated action which was set up using setInterval.

def clearTimeout(handle: Int): Unit

Clears the delay set by window.setTimeout().

Clears the delay set by window.setTimeout().

def setInterval(handler: Function0[Any], timeout: Double): Int

Calls a function or executes a code snippet repeatedly, with a fixed time delay between each call to that function.

Calls a function or executes a code snippet repeatedly, with a fixed time delay between each call to that function.

def setTimeout(handler: Function0[Any], timeout: Double): Int

Calls a function or executes a code snippet after a specified delay.

Calls a function or executes a code snippet after a specified delay.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object