Skip to content

Commit

Permalink
Bugfix: Include missing layout item optional keys (isBounded, dragIgn…
Browse files Browse the repository at this point in the history
…oreFrom, dragAllowFrom, resizeIgnoreFrom, preserveAspectRation, dragOption, resizeOption).
  • Loading branch information
jremi authored and LwveMike committed Jan 25, 2024
1 parent 07332cb commit 16c1019
Showing 1 changed file with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,23 @@ provide(emitterKey, emitter)
// options
const layoutItemRequired = { h: 0, i: -1, w: 0, x: 0, y: 0 }
const layoutItemOptionalKeys = ['minW', 'minH', 'maxW', 'maxH', 'moved', 'static', 'isDraggable', 'isResizable']
const layoutItemOptionalKeys = [
'minW',
'minH',
'maxW',
'maxH',
'moved',
'static',
'isDraggable',
'isResizable',
'isBounded',
'dragIgnoreFrom',
'dragAllowFrom',
'resizeIgnoreFrom',
'preserveAspectRatio',
'dragOption',
'resizeOption'
]
//data
const erd = ref(elementResizeDetectorMaker({ callOnAdd: false, strategy: 'scroll' }))
Expand Down

0 comments on commit 16c1019

Please sign in to comment.