# dynashow

> A module for dynamic content visibility operations

Latest version **1.0.1** (published 2019-07-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install dynashow
pnpm add dynashow
yarn add dynashow
bun add dynashow
```

## 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.1 |
| Published | 2019-07-26 |
| First published | 2019-07-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Henry M. Kirya |
| Maintainers | kyrah |
| Keywords | dynamic, menu, visible |

## Links

- npm: https://www.npmjs.com/package/dynashow
- npm.io page: https://npm.io/package/dynashow

## Recent versions

- 1.0.1 (latest) — 2019-07-26
- 1.0.0 — 2019-07-26

## README

**Example usage**
Create the necesary id elements in your webpage then select
ans use them as shown below.


```javascript
const { controll } = require('dynashow')

var stuff1 = document.getElementById("cont1");
var stuff2 = document.getElementById("cont2");
var stuff3 = document.getElementById("cont3");
const taskcontroll  = new controll(stuff1, stuff2, stuff3);

document.querySelector('#one').addEventListener('click', ff1);
document.querySelector('#two').addEventListener('click', ff2);
document.querySelector('#three').addEventListener('click', ff3);


function ff1() {
	taskcontroll.tog('one');
}
function ff2() {
	taskcontroll.tog('two');
}
function ff3() {
	taskcontroll.tog('three');
}
```
[dynasho on github](https://github.com/harrika/dynashow)

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