solid-transition-group
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -45,3 +45,3 @@ import { createSignal, children, mergeProps, createComputed, untrack, batch, createEffect } from 'solid-js'; | ||
el.classList.add(...enterToClasses); | ||
onEnter && onEnter(el, endTransition); | ||
onEnter && onEnter(el, () => endTransition()); | ||
@@ -85,3 +85,3 @@ if (!onEnter || onEnter.length < 2) { | ||
}); | ||
onExit && onExit(prev, endTransition); | ||
onExit && onExit(prev, () => endTransition()); | ||
@@ -190,3 +190,3 @@ if (!onExit || onExit.length < 2) { | ||
el.classList.add(...enterToClasses); | ||
onEnter && onEnter(el, endTransition); | ||
onEnter && onEnter(el, () => endTransition()); | ||
@@ -223,3 +223,3 @@ if (!onEnter || onEnter.length < 2) { | ||
}); | ||
onExit && onExit(old, endTransition); | ||
onExit && onExit(old, () => endTransition()); | ||
@@ -226,0 +226,0 @@ if (!onExit || onExit.length < 2) { |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"homepage": "https://github.com/solidjs/solid-transition-group#readme", | ||
@@ -9,0 +9,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
25440