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
You can addEventListener in componentDidMount for keyup to set call handleIncrementAng or handleDecrementAng based on arrow key pressed. You can get keycodes for arrow keys here.
Don't forget to removeEventListener in componentWillUnmount lifecycle method of above component to be conservative of memory leaks.
We might also want to debounce the event listener to avoid multiple API calls.
You can also join our slack channel to contribute more!
Hi,
Is it currently possible to switch between Angs in SGGS using the arrow keys?
Maybe, it could be a feature that can be added
The text was updated successfully, but these errors were encountered: