增加drag组件

master
yutent 2023-04-08 22:43:34 +08:00
parent 1ce488eeb4
commit 46b20903cd
1 changed files with 14 additions and 0 deletions

14
src/drag/index.js Normal file
View File

@ -0,0 +1,14 @@
import { css, html, Component, nextTick, styleMap } from '@bd/core'
import Core from './core.js'
class Drag extends Component {
static props = {
overflow: false,
limit: 'window',
'disable-x': false,
'disable-y': false
}
}
Drag.reg('drag')