You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Twisty Player, I want to be able to detect when the user clicks on the element where the puzzle is shown, i.e. div.visualisation-wrapper is clicked.
Dragging the puzzle could also be detected separately.
In my F2L Trainer, I would like to get to the next training case by clicking on the cube in Twisty Player.
Adding a click event listener to the whole Twisty Player would make the controls of Twisty Player unusable.
Goal
In Twisty Player, I want to be able to detect when the user clicks on the element where the puzzle is shown, i.e.
div.visualisation-wrapper
is clicked.Dragging the puzzle could also be detected separately.
In my F2L Trainer, I would like to get to the next training case by clicking on the cube in Twisty Player.
Adding a
click
event listener to the whole Twisty Player would make the controls of Twisty Player unusable.I imagine using this feature like that:
Possible solution
Add a
click
event listener tovisualizationWrapperElem
that triggers a new eventpuzzle-click
.I don't know if it would be that simple.
Alternatives
Add the posibility to make the
#shadow-root
of Twisty Player open.The text was updated successfully, but these errors were encountered: