diving on partie
This commit is contained in:
@@ -61,13 +61,13 @@ gsap.registerPlugin(ScrollTrigger, ScrollSmoother);
|
||||
// scrollTrigger: 'main[role="main"]', // start animation when ".box" enters the viewport
|
||||
// backgroundPositionY: 10
|
||||
// });
|
||||
ScrollSmoother.create({
|
||||
smooth: 1, // how long (in seconds) it takes to "catch up" to the native scroll position
|
||||
effects: true, // looks for data-speed and data-lag attributes on elements
|
||||
smoothTouch: 0.1, // much shorter smoothing time on touch devices (default is NO smoothing on touch devices)
|
||||
wrapper: 'main[role="main"]',
|
||||
content: 'main[role="main"]>.layout-content'
|
||||
});
|
||||
// ScrollSmoother.create({
|
||||
// smooth: 1, // how long (in seconds) it takes to "catch up" to the native scroll position
|
||||
// effects: true, // looks for data-speed and data-lag attributes on elements
|
||||
// smoothTouch: 0.1, // much shorter smoothing time on touch devices (default is NO smoothing on touch devices)
|
||||
// wrapper: 'main[role="main"]',
|
||||
// content: 'main[role="main"]>.layout-content'
|
||||
// });
|
||||
}
|
||||
|
||||
function initVues(){
|
||||
|
||||
Reference in New Issue
Block a user