0.0.14 • Published 1 year ago

modal-actions v0.0.14

Weekly downloads
-
License
(LGPL-3.0)
Repository
-
Last release
1 year ago

Modal Actions

Simple & customizable modal with navigation, input, confirmation buttons, tab buttons and more.

Development

Docker container running lite-server and watching code changes

make watch

Results can be tested in http://localhost:3000/example/index.html

Generate bundle

Local bundle pack with project name and actual project version in root folder

make bundle

More

To see all make commands

make help

Installation

yarn add modal-actions

Or directly in the HTML file

<!-- Add to head HTML tag -->
<link rel="stylesheet" href="./dist/modal-actions.min.css" />
<!-- Add to the bottom of body HTML tag -->
<script src="./dist/modal-actions.min.js"></script>

<!-- or directly from unpkg -->
<link
  rel="stylesheet"
  href="https://unpkg.com/modal-actions@latest/dist/modal-actions.min.css"
/>
<script src="https://unpkg.com/modal-actions@latest/dist/modal-actions.min.js"></script>

Run

import ModalActions from "modal-actions";

// Only this line when included with script HTML tag
const modal = new ModalActions("#my-container");

Examples in example/index.html

0.0.14

1 year ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago