Skip to content

A simple loading HUD that uses native UI elements to present a modal loading indicator.

Notifications You must be signed in to change notification settings

hansemannn/titanium-loading-hud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Titanium Loading HUD-Control

A simple loading HUD that uses native UI elements to present a modal loading indicator.

Titanium Loading HUD-Control

Requirements

  • Titanium SDK 7.1.0+
  • ES6 enabled (<transpile>true</transpile)

Install

  • a) Simply put the loader.js into app/lib (Alloy) or Resources (Classic).
  • b) Install via npm: npm i titanium-loading-hud

Example

import Loader from 'loader';

const loader = new Loader({
  view: $.window,
  title: 'Loading …',
});

loader.show();

setTimeout(() => {
  loader.hide();
}, 2000);

License

MIT

Author

Hans Knöchel

About

A simple loading HUD that uses native UI elements to present a modal loading indicator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages