Interface: TwindObserver

twind/observe.TwindObserver

Provides the ability to watch for changes being made to the DOM tree.

Methods

disconnect

disconnect(): TwindObserver

Stops observer from observing any mutations.

Returns: TwindObserver

Defined in: src/observe/index.ts:29


observe

observe(target: Node): TwindObserver

Observe an additional element.

Parameters:

NameType
targetNode

Returns: TwindObserver

Defined in: src/observe/index.ts:34