Parcourir la source

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

christinreev il y a 10 mois
Parent
commit
40d23fcf3a
1 fichiers modifiés avec 12 ajouts et 0 suppressions
  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
+})
+}