Hello there GreenSock masters!
I am trying to make a rater using angular components and a rater that the user caches with the mouse and starts to drag till he is reached for 1-10.
My current code i am using is very simple, i have generate element that contains smaller elements from 1-10 and one rater square witch position is absolute
but when i do the liveSnaps i stop being able to eaven move the element..... so please help me i can sent the project it contains only 1 element (rater ) so its not something big...
Draggable.create(".rater", {
bounds: document.getElementsByClassName("rater-container")[0],
type:"y",
liveSnap: {
y:[200,400,600]
}
});