Hi,
I'm trying to use throwpropsplugin but it doesnt work or give any console errors....
import TweenMax from 'gsap'
import Draggable from 'gsap/Draggable'
import './assets/js/ThrowPropsPlugin'
Draggable.create(document.querySelector('.slider'), {
type: "x",
edgeResistance: 0.9,
dragResistance: 0.5,
throwResistance: 0.75,
throwProps: true,
bounds: {
maxX: 0,
minX: 5000
}
})
I am using the "...for npm" users flat version of ThrowPropsPlugin.js.