Its instance allows you to chain middlewares
• new HyperlinkWatcher(options
)
Name | Type |
---|---|
options |
HyperlinkWatcherInputOptions |
▸ unwatch(): void
Stop watching clicks on DOM hyperlinks (useful to free memory)
void
▸ watch(): void
Watch clicks on DOM hyperlinks
Note: this will watch existing hyperlinks when called, but will also manage new hyperlinks added to the DOM
void