Browse Source

Скрипт, с помощью которого подключены библиотеки

christinreev 10 months ago
parent
commit
40d23fcf3a
1 changed files with 12 additions and 0 deletions
  1. 12 0
      js/app.js

+ 12 - 0
js/app.js

@@ -0,0 +1,12 @@
+gsap.registerPlugin(ScrollTrigger, ScrollSmoother);
+
+
+
+if (ScrollTrigger.itTouch !==1) {
+    ScrollSmoother.create ({
+    wrapper: '.wrapper',
+    content: '.content',
+    smooth: 1.5,
+    effects: true
+})
+}