0.0.13 • Published 3 years ago

select-actions v0.0.13

Weekly downloads
-
License
(LGPL-3.0)
Repository
github
Last release
3 years ago

SelectActions

Simple & customizable multi/single-select picker, written in vanilla JS

Demo

https://marcmatias.github.io/select-actions

Installation

# yarn or npm
yarn add select-actions

Or direct import in HTML

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

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

Run

import SelectActions from "select-actions";

// Only this lines when included with script HTML tag
window.addEventListener("load", (event) => {
    const select-actions = new SelectActions({
        id: "#select-0",
    });
})

More examples in example/index.html

References

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