Open neterm opened 2 years ago
you can copy the code and modify it!
if (get() && !isTransitioning) {
isTransitioning = true
const e = new CustomEvent('before-enter')
el.dispatchEvent(e)
tr = transition(
el,
enterClasses,
enterFromClasses,
enterToClasses,
enteredClasses,
(reason) => {
if (reason === Reason.Finished) isTransitioning = false
}
)
if (get() && !isTransitioning) { isTransitioning = true const e = new CustomEvent('before-enter') el.dispatchEvent(e) tr = transition( el, enterClasses, enterFromClasses, enterToClasses, enteredClasses, (reason) => { if (reason === Reason.Finished) isTransitioning = false } )
I am not sure~u can test it~
Hey, sorry for last time. It's a very nice! upgradation to existing codebase.
Hey, I want to merge it. But did you test it because not, then I will test it before merging to main branch