ui/src/drag/index.js

16 lines
278 B
JavaScript
Raw Normal View History

2023-04-08 22:43:34 +08:00
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,
2023-04-09 22:56:37 +08:00
'disable-y': false,
by: String
2023-04-08 22:43:34 +08:00
}
}
Drag.reg('drag')