API Docs for:
Show:

Function Class

Defined in: latest/core.js:130
Module: Core
Parent Module: JSFramework

Function extensions - Extensions to JavaScript's native Function.prototype

Item Index

Methods

Methods

delay

(
  • delay
)

Defined in latest/core.js:136

Run this function after a certain delay

Parameters:

  • delay Double

    Milliseconds to delay execution

Example:

var helloWorld = function() { alert('Hello world!'); }
helloWorld.delay(1000); // helloWorld will run after 1000 milliseconds