Skip to content

Latest commit

 

History

History
64 lines (34 loc) · 1.13 KB

HyperlinkWatcher.md

File metadata and controls

64 lines (34 loc) · 1.13 KB

Class: HyperlinkWatcher

Its instance allows you to chain middlewares

Table of contents

Constructors

Methods

Constructors

constructor

new HyperlinkWatcher(options)

Parameters

Name Type
options HyperlinkWatcherInputOptions

Defined in

watcher.ts:28

Methods

unwatch

unwatch(): void

Stop watching clicks on DOM hyperlinks (useful to free memory)

Returns

void

Defined in

watcher.ts:76


watch

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

Returns

void

Defined in

watcher.ts:37