Drag
Class | Properties |
---|---|
drag-none | -webkit-user-drag: none; |
drag-element | -webkit-user-drag: element; |
drag-auto | -webkit-user-drag: auto; |
Usage
Single import
// tailwind.config.js
import { drag } from "tailwindcss-addons"
export default {
plugins: [drag],
}
Multi import
// tailwind.config.js
import { allAddons } from "tailwindcss-addons"
export default {
plugins: [
...allAddons({
drag: false, // Enabled by default.
}),
],
}