Skip to content

Validate selector

Compare
Choose a tag to compare
@freddydumont freddydumont released this 10 Mar 14:53
· 6 commits to master since this release

The function now makes sure that you pass in a valid selector before calling scrollIntoView. There is a development-only console warning in case the selector is invalid.

  • Validate selector before calling scrollIntoView f2cd6f7

v1.0.4...v1.1.0