panelsnap

1.3.0 • Public • Published

PanelSnap

Build Status npm

A JavaScript plugin that provides snapping functionality to a set of panels within your interface.

Installation

npm install panelsnap
import PanelSnap from 'panelsnap';
 
const instance = new PanelSnap();
<body>
  <section>
    ...
  </section>
  <section>
    ...
  </section>
  <section>
    ...
  </section>
</body>

Documentation

Check out the documentation at https://panelsnap.com or the docs folder for a working demo.

Credits

  • jellea for early feedback and brainpickings.
  • aalexandrov for small improvements & bugfixes.
  • akreitals for fixing keyboard navigation when disabled.
  • brumm far a panel count bug.
  • dpaquette for the offset option.
  • wudi96 for button navigation.

Package Sidebar

Install

npm i panelsnap

Weekly Downloads

36

Version

1.3.0

License

MIT

Unpacked Size

87.9 kB

Total Files

27

Last publish

Collaborators

  • guidobouman