Testing & Debugging
While testing, you can set ToughClicks into "debug" mode. Doing so will cause ToughClicks to print relevant console logs.
TC.setDebug(true);
Additionally, you can ask ToughClicks to print its current state to the console at any time.
TC.printState();
Don't forget to disable this and remove print statements before going live!
Updated about 1 year ago