pushin icon indicating copy to clipboard operation
pushin copied to clipboard

Move and rename showDebugger() method

Open nateplusplus opened this issue 2 years ago • 0 comments

  1. showDebugger is basically a helper function that doesn't need to be part of the pushIn class.
  2. It's not really a debugger either, it shows the current scrollY value. Should be named something more appropriate.

This could be moved into a new class and could be called like:

import { PushInScrollHelper } from pushin;

PushInScrollHelper::show();

I think it should still be included on the global scope too, for those who are using a CDN.

pushInScrollHelper();

nateplusplus avatar May 10 '22 00:05 nateplusplus