Skip to content

Release v3 major updated

Choose a tag to compare

@1natsu172 1natsu172 released this 15 Feb 15:41
· 215 commits to master since this release

v2.2.0...v3.0.0


New API waitDisappearElement.

Following the suggestion of #6, implemented an API for waiting for an element to disappear.

It is provided by a separate API called waitDisappearElement. The arguments are the same as for waitElement.

Re-wrote all use TypeScript

Re-wrote all in TS. This means that it provides stable types that match the source code.

Changed to named-export

Users can now only use named-import.

Only ES Module is provided.

Starting from v3, only ES Module is provided. The previous CommonJS format is no longer provided.

Change default observe options.

It is now possible to waitElement for mutated attributes such as class.

Extend options for more flexibility

It is now possible to pass options for mutationObserver.

User can pass options to the options object from observeConfigs.