# titanium-loading-hud

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

Latest version **1.0.2** (published 2018-08-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install titanium-loading-hud
pnpm add titanium-loading-hud
yarn add titanium-loading-hud
bun add titanium-loading-hud
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2018-08-13 |
| First published | 2018-08-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 170.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Hans Knöchel |
| Maintainers | hansemannnn |
| Keywords | titanium, hud, loader |

## Links

- npm: https://www.npmjs.com/package/titanium-loading-hud
- Repository: https://github.com/hansemannn/titanium-loading-hud
- Homepage: https://github.com/hansemannn/titanium-loading-hud#readme
- Issues: https://github.com/hansemannn/titanium-loading-hud/issues
- npm.io page: https://npm.io/package/titanium-loading-hud

## Recent versions

- 1.0.2 (latest) — 2018-08-13
- 1.0.1 — 2018-08-13
- 1.0.0 — 2018-08-13

## README

# Titanium Loading HUD-Control

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

<img src="./screenshot.jpg" width="900" alt="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

```js
import Loader from 'loader';

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

loader.show();

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

## License

MIT

## Author 

Hans Knöchel

---
_Source: https://npm.io/package/titanium-loading-hud · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
