Add AnimateCSS (#3113)

Hi,

This is my testing code for AnimateCSS for `show()`, `hide()`,
`updateDom()`

Naturally, we have to do better !

I voluntarily modify `newsfeed` and `compliments` in order to test

Note: I will correct checks later... it's a test...

---------

Co-authored-by: bugsounet <bugsounet@bugsounet.fr>
Co-authored-by: veeck <michael.veeck@nebenan.de>
This commit is contained in:
Bugsounet - Cédric
2023-09-08 07:43:39 +02:00
committed by GitHub
parent 5cbdd28db3
commit a92b3d3f71
8 changed files with 308 additions and 33 deletions

View File

@@ -193,7 +193,7 @@ const Module = Class.extend({
},
/*********************************************
* The methods below don"t need subclassing. *
* The methods below don't need subclassing. *
*********************************************/
/**
@@ -327,10 +327,10 @@ const Module = Class.extend({
/**
* Request an (animated) update of the module.
* @param {number} [speed] The speed of the animation.
* @param {number|object} [updateOptions] The speed of the animation or object with for updateOptions (speed/animates)
*/
updateDom: function (speed) {
MM.updateDom(this, speed);
updateDom: function (updateOptions) {
MM.updateDom(this, updateOptions);
},
/**