We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 525f885 commit 21bbc49Copy full SHA for 21bbc49
src/js-scroll-effect-module.js
@@ -32,6 +32,8 @@ export default class SCROLL_EFFECT_MODULE {
32
33
addClassNameActive : 'is-active',
34
35
+ autoStart : true,
36
+
37
acceleration : false,
38
39
on: {
@@ -45,7 +47,10 @@ export default class SCROLL_EFFECT_MODULE {
45
47
// Merge Config Settings.
46
48
this.Config = Object.assign(configDefault, options);
49
- // SetPlayer
50
+ if(this.Config.autoStart) this.Init();
51
+ }
52
53
+ Init(){
54
if(document.readyState == 'complete' || document.readyState == 'interactive'){
55
this.CacheDom();
56
this.BindEvent();
0 commit comments