Kei001
V2EX  ›  问与答

求一个轻量级的 jquery-ui draggable 替代品

  •  
  •   Kei001 · Aug 15, 2022 · 1985 views
    This topic created in 1560 days ago, the information mentioned may be changed or developed.

    项目是基于 vue 开发,需要实现任意一个 dom 元素在页面上被自由拖动功能,比如对话框之类,之前一直使用 jquery ui draggable ,但是还需要引入 jquery 库,觉得太重了,请教各位有没有轻量级的实现拖拽功能的函数。

    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4606 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 07:09 · PVG 15:09 · LAX 23:09 · JFK 02:09
    ♥ Do have faith in what you're doing.