Add `stop` method
jeremydw opened this issue · comments
Jeremy Weinstein commented
We (https://github.com/blinkk) would like to be able to embed SpacingJS on our staging websites and toggle the behavior. In order to do this, we need a stop
method that removes the handlers added by start
:
https://github.com/stevenlei/spacingjs/blob/main/src/spacing.ts#L17