show-hide
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

👁️ Show Hide

Minimalist DOM fade to show/hide element

‎‍💻 API

import { show } from "show-hide";
 
const element = document.querySelector(".my-modal") as HTMLDivElement;
if (!element) return;
 
show(element);

Readme

Keywords

none

Package Sidebar

Install

npm i show-hide

Weekly Downloads

1

Version

0.9.0

License

MIT

Unpacked Size

5.18 kB

Total Files

7

Last publish

Collaborators

  • anandchowdhary