canvasframework 0.5.50 → 0.5.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/CanvasFramework.js +2 -7
- package/package.json +1 -1
package/core/CanvasFramework.js
CHANGED
|
@@ -2004,19 +2004,14 @@ class CanvasFramework {
|
|
|
2004
2004
|
// Destroy le composant pour être sûr
|
|
2005
2005
|
if (comp.destroy && typeof comp.destroy === 'function') {
|
|
2006
2006
|
comp.destroy();
|
|
2007
|
+
comp._unmount();
|
|
2007
2008
|
}
|
|
2008
2009
|
}
|
|
2009
2010
|
|
|
2010
2011
|
// 2. Désactiver TOUS les gestionnaires d'événements
|
|
2011
2012
|
comp.onClick = null;
|
|
2012
2013
|
comp.onPress = null;
|
|
2013
|
-
|
|
2014
|
-
comp.onHover = null;
|
|
2015
|
-
comp.onFocus = null;
|
|
2016
|
-
comp.onBlur = null;
|
|
2017
|
-
comp.onChange = null;
|
|
2018
|
-
comp.onInput = null;
|
|
2019
|
-
comp.onSubmit = null;
|
|
2014
|
+
|
|
2020
2015
|
|
|
2021
2016
|
if (comp._unmount && typeof comp._unmount === 'function') {
|
|
2022
2017
|
comp._unmount();
|