element-viewer

Know if some element is being viewed and trigger to anything you want.

Browse on unpkg