mirror of
https://git.ddmt.top/ddmt/ddmt-tool.git
synced 2026-03-23 05:17:06 +00:00
1.0.3
This commit is contained in:
@@ -6,6 +6,6 @@
|
||||
export function animate(event, classname) {
|
||||
event.classList.add(classname);
|
||||
event.addEventListener('animationend', (event) => {
|
||||
event.classList.remove(classname); // 清洗动画
|
||||
event.target.classList.remove(classname); // 清洗动画
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user