15 lines
262 B
JavaScript
15 lines
262 B
JavaScript
|
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')
|