Export animations (#3644)

I am adding the animateIn/Out support to MMM-Config, but I need the list
of animations..
but they are not visible in js/animateCSS.js (from require)

adding an export satisfies that

side issue, these would go in a dropdown list
what value can I use for the default behavior? none/default?
don't want an error produced..
should I add code to check for this value to prevent error?
This commit is contained in:
sam detweiler 2024-12-02 03:17:19 -06:00 committed by GitHub
parent 07768c3a88
commit 63178eba72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ _This release is scheduled to be released on 2025-01-01._
- [compliments] add support for refreshing remote compliments file, and testcases (#3630)
- [linter] Re-add `eslint-plugin-import`now that it supports ESLint v9 (#3586)
- [linter] Re-activate `eslint-plugin-package-json` to lint `package.json`
- [core] Add export on animation names
### Removed

View File

@ -155,3 +155,4 @@ function removeAnimateCSS (element, animation) {
node.classList.remove("animate__animated", animationName);
node.style.removeProperty("--animate-duration");
}
module.exports = { AnimateCSSIn, AnimateCSSOut };