A JavaScript plugin that provi
A JavaScript library that provides snapping functionality to a set of panels within your interface.
IntroductionPanelSnap is a framework agnostic JavaScript library. This means that it works in every JavaScript project, wheter you use Vue, React, jQuery or plain vanilla JavaScript. It can snap both horizontally & vertically, connect with menu's and fire events based on user behaviour.
Installationnpm install panelsnap
import PanelSnap from 'panelsnap'; const instance = new PanelSnap();
<body> <section> ... </section> <section> ... </section> <section> ... </section> </body> Documentation
In its simplest form, PanelSnap does not need any configuration. For more advanced scenarios, PanelSnap can be aopted to about every usecase through its settings object.
Check out the documentation at https://panelsnap.com or the docs
folder for all the different possibilities.
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。