Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anandchowdhary/show-hide

👁️ Simply fade to show or hide DOM elements (<1 kb)
https://github.com/anandchowdhary/show-hide

css dom javascript library transition typescript

Last synced: 4 days ago
JSON representation

👁️ Simply fade to show or hide DOM elements (<1 kb)

Awesome Lists containing this project

README

        

# 👁️ Show Hide

Minimalist DOM fade to show/hide element

## ‎‍💻 API

```ts
import { show } from "show-hide";

const element = document.querySelector(".my-modal") as HTMLDivElement;
if (!element) return;

show(element);
```