Class jQuery
the extended jQuery library
Defined in: jquery.chrono.js.
Constructor Attributes | Constructor Name and Description |
---|---|
jQuery()
The extended jQuery library
|
Field Attributes | Field Name and Description |
---|---|
<static> |
jQuery.after
Syntactic sugar for setTimeout.
|
<static> |
jQuery.every
Syntactic sugar for setTimeout.
|
Field Detail
<static>
jQuery.after
Syntactic sugar for setTimeout.
along with all their common abbreviations and pluralizations.
(See full list of valid time units: jQueryChrono-valid_units)
setTimeout(function() { ... }, 300000); // becomes: $.after(5, "minutes", function() { ... }); // other valid calls: $.after(100, function() { ... }); // 100 milliseconds $.after("9.7", function() { ... }); // 9.7 milliseconds $.after("50sec", function() { ... }); // 50 seconds $.after("33", "hours", function() { ... }); // 33 hours $.after("minute", function() { ... }); // 1 minute $.after("1 hour, 2 minutes, 15 seconds", function() { ... }); // 1:02:15 hours $.after("1min, 15 s", function() { ... }); // 1:15 minutesValid time units include: millisecond, second, minute, hour, & day
along with all their common abbreviations and pluralizations.
(See full list of valid time units: jQueryChrono-valid_units)
<static>
jQuery.every
Syntactic sugar for setTimeout.
setInterval(function() { ... }, 300000); // becomes: $.every(5, "minutes", function() { ... });Supports the same syntax and arguments as jQuery.after