fastdom: toying around with what works and what doesn't
This commit is contained in:
parent
3e06e52948
commit
e7693d2277
6 changed files with 46 additions and 39 deletions
|
|
@ -26,16 +26,14 @@ function checkResizes(context, force){
|
|||
cachedStyles.push(style)
|
||||
}
|
||||
}
|
||||
fastdom.mutate(()=>{
|
||||
for (let i = resizedElems.length - 1; i >= 0; i--) {
|
||||
resizedElems[i]._resize_widget.trigger('resize', {
|
||||
width: resizedElems[i].resizedataw,
|
||||
height: resizedElems[i].resizedatah,
|
||||
style:cachedStyles[i],
|
||||
stopPropagation: true
|
||||
})
|
||||
}
|
||||
})
|
||||
for (let i = resizedElems.length - 1; i >= 0; i--) {
|
||||
resizedElems[i]._resize_widget.trigger('resize', {
|
||||
width: resizedElems[i].resizedataw,
|
||||
height: resizedElems[i].resizedatah,
|
||||
style:cachedStyles[i],
|
||||
stopPropagation: true
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue