pull/1/head
Jan Umbach 2024-05-30 23:52:15 +02:00
parent d99698f290
commit 889c9515c7
1 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,7 @@
}
hoverEffectIn() {
console.log('hover in');
// use animejs
anime({
targets: this.video,
@ -85,6 +86,7 @@
}
hoverEffectOut() {
console.log('hover out');
// use animejs
anime({
targets: this.video,
@ -112,7 +114,7 @@
});
// Assuming `document` is the target to observe
const targetNode = document;
const targetNode = document.querySelector('.product-card-wrapper');
// Options for the observer (which mutations to observe)
const config = { attributes: false, childList: true, subtree: true };