Skip to content

Commit 6049d66

Browse files
committed
adjust
1 parent 01d7811 commit 6049d66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js-scroll-effect-module.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,14 +229,14 @@ export default class SCROLL_EFFECT_MODULE {
229229
el.count++;
230230
if (this.config.classNameInview) DOM.addClass(el.el, this.config.classNameInview);
231231
// Inコールバック関数の呼び出し
232-
this.callCallback(this.config.on.In, el);
232+
this.callCallback(this.config.on.In, el, el.index, el.dataset.scrollName);
233233
}
234234
} else {
235235
// activeでない場合の処理
236236
if (this.config.displayReverse && DOM.hasClass(el.el, this.config.classNameInview)) {
237237
DOM.removeClass(el.el, this.config.classNameInview);
238238
// Outコールバック関数の呼び出し
239-
this.callCallback(this.config.on.Out, el);
239+
this.callCallback(this.config.on.Out, el, el.index, el.dataset.scrollName);
240240
}
241241
}
242242
// changingフラグのチェック

0 commit comments

Comments
 (0)