-
Notifications
You must be signed in to change notification settings - Fork 57
$.then()
Arthur Guiot edited this page Sep 9, 2017
·
1 revision
As promises, $.then()
is to execute something when an operation is done.
function toDo() {
$.copy("Hello World!");
}
function done() {
alert("Text copied");
}
$.then(toDo, done):
- Home
- The Core Languages
- Getting Started: Installation
- The Basics (
$.var()
+$.target()
) - Developing for DisplayJS
-
$.select()
- Text related
- If...else
$.xss()
$.repeat()
$.custom()
$.live()
$.load()
$.on()
$.onEvent()
$.ready()
- Scroll API
$.all()
$.clone()
$.is()
$.valEmpty()
$.remove()
$.show()
&$.hide()
$.ajax()
- Class Related
$.css()
$.getStyle()
- Fade effects
$.extend()
$.dynamic()
$.parent()
- Elements-Nodes
$.component()
$.time_ago()
$.copy()
$.then()
$.sleep()
$.getProp()