ez-dialogs
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Ez Dialogs

Ez Dialogs is a lightweight library to make using the <dialog> element intuitive and easy.

See example usage below, also found in index.html:

<dialog ez-dialog="main" class="ez-dialog">
  <button ez-dialog-close="main" class="ez-dialog-close">X</button>
  <div ez-dialog-content="main" class="ez-dialog-content">
    <h1>Dialog Example</h1>
    <p>This is an example dialog.</p>
  </div>
</dialog>

<button ez-dialog-trigger="main">Open</button>

This library is proudly built with Vite and is licensed under the MIT license.

/ez-dialogs/

    Package Sidebar

    Install

    npm i ez-dialogs

    Weekly Downloads

    5

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.4 kB

    Total Files

    8

    Last publish

    Collaborators

    • blakej115