# @mizchi/layered

> modal window manager

Latest version **0.0.1** (published 2015-07-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mizchi/layered
pnpm add @mizchi/layered
yarn add @mizchi/layered
bun add @mizchi/layered
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2015-07-09 |
| First published | 2015-07-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | mizchi |
| Maintainers | mizchi |

## Links

- npm: https://www.npmjs.com/package/@mizchi/layered
- Repository: https://github.com/mizchi/layered
- Homepage: https://github.com/mizchi/layered#readme
- Issues: https://github.com/mizchi/layered/issues
- npm.io page: https://npm.io/package/@mizchi/layered

## Dependencies (3)

- [babelify](https://npm.io/package/babelify.md) ^5.0.5
- [watchify](https://npm.io/package/watchify.md) ^3.2.3
- [browserify](https://npm.io/package/browserify.md) ^9.0.8

## Recent versions

- 0.0.1 (latest) — 2015-07-09

## README

# Layered

Simple modal window manager.

## Example

```javascript
window.addEventListener('DOMContentLoaded', () => {
  let layered = new Layered(document.body);
  let layer1 = layered.addLayer();
  let layer2 = layered.addLayer();

  // touch elemenet
  layer1.getElement().innerHTML = 'foo';
  layer2.getElement().innerHTML = 'bar';

  layer2.hide();
  layer2.show();
  // layer2.remove();
  console.log(layered.getActiveLayers());
});
```

## LICENSE

MIT

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