0.1.1 • Published 2 years ago

zerolinesjs v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Zerolines.js

Headless UI components without writing a single line of JavaScript.

Components

  • Tab
  • Modal
  • Dropdown
  • Drawer
  • Onetime content
  • ScrollTop

Usage

Add library from CDN, or download from Release Page on Github.

<script src="https://cdn.jsdelivr.net/npm/zerolinesjs@0.1.0/dist/index.js" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/zerolinesjs@0.1.0/dist/style.min.css" rel="stylesheet" />

Simply attach roll and behavior to your styled HTML element with data-zl attribute. Here is the modal sample.

<button type="button" data-zl="modal-toggle target-[#modal1]">
  Modal Open
</button>
<div id="modal1" data-zl="modal-backdrop" zl-cloak>
  <div data-zl="modal-content move-down-md">
    <!-- Content Here -->
    <button data-zl="modal-dismiss">Cancel</button>
  </div>
</div>

License

Available under the MIT License.

0.1.1

2 years ago

0.1.0

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago