APIs that live in the global scope.
Titanium provides a number of global built-in objects.
Titanium has a built-in JSON parser with two main functions:
Titanium has built-in support for one-shot and repeating timers with two main functions:
setTimeout takes 2 arguments: function and timeout in milliseconds after which the function should be executed and returns a timer handle that can be used to cancel a pending timer with
setInterval takes 2 arguments: function and timeout in milliseconds for how often the function should be executed until cancelled and returns a timer handle that can be used to cancel a timer with
L can also be used which aliases the method
An alias for
Displays a pop-up alert dialog with the passed in
Clear an interval timer from being fired.
Clear a timeout timer from being fired.
Replaces each URI encoded escape sequence in the passed in
Replaces all URI special characters in the passed in
Loads either a native Titanium module, or a CommonJS module.
Creates an interval timer that calls
Creates a timer that calls