WindowFormElement
This commit is contained in:
@@ -80,8 +80,8 @@ export default class WindowFormImpl implements IWindowForm {
|
||||
const wf = document.createElement('window-form-element')
|
||||
wf.dragContainer = document.body
|
||||
wf.snapDistance = 20
|
||||
wf.addEventListener('onDragStart', (e) => {
|
||||
console.log('dragstart')
|
||||
wf.addEventListener('windowForm:dragStart', (e) => {
|
||||
console.log('dragstart', e)
|
||||
})
|
||||
this.desktopRootDom.appendChild(wf)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user