Skip to content

Commit 63178eb

Browse files
authored
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?
1 parent 07768c3 commit 63178eb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ _This release is scheduled to be released on 2025-01-01._
2020
- [compliments] add support for refreshing remote compliments file, and testcases (#3630)
2121
- [linter] Re-add `eslint-plugin-import`now that it supports ESLint v9 (#3586)
2222
- [linter] Re-activate `eslint-plugin-package-json` to lint `package.json`
23+
- [core] Add export on animation names
2324

2425
### Removed
2526

js/animateCSS.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,4 @@ function removeAnimateCSS (element, animation) {
155155
node.classList.remove("animate__animated", animationName);
156156
node.style.removeProperty("--animate-duration");
157157
}
158+
module.exports = { AnimateCSSIn, AnimateCSSOut };

0 commit comments

Comments
 (0)