Overlay HUD is a module created to simplify how to display basic messages on the screen to an user in Appcelerator's Titanium
This module is pretty simple to use, you just need to import the library like so
var overlay = require("overlayHUD");
And that is it, now you can use the following functions to show or hide your HUD
For the simplest example, follow this
// inits the module and displays it to the user right away
var overlay = require("overlayHUD");
overlay.load().show();
Below is a simple version of documentions, is so simple you don't need anything more than this :)
Init function, takes 2 optional arguments: the first one is the message you want to display, default is "Loading..." and the second argument is the style to use, default is "normal" and "tweetie", where normal is a fullscreen window and Tweetie is a black semi transparent window. Default is Tweetie
Animates the HUD and displays it to the user.
Animates the HUD and hides it from the user. Another way to hide the HUD is by firing an app wide event called OVERLAY:HUD:HIDE
(this can be customized)
Created by Raul Riera, http://raulriera.com