Release v3 major updated
- fix: publish files 661122e
- Merge pull request #8 from 1natsu172/develop-v3 8c0c8f5
- docs: write v3 docs 80d1a32
- lint: format 249cc29
- feat: implement waitDisappearElement e25c40a
- tweak: setting f44260f
- break: remove v2 files 1fc6902
- travis: node 15 b2ae11b
- chore: remove module field od package.json 415dfac
- chore: npm scripts 138ac73
- format: prefer-const & more 6d69b8f
- format: xo prettier c7dceb7
- chore: remove unnecessary 1719c12
- fix: typings path d6d7db1
- feat: rewrite by typescript fdbb945
- chore: xo prettier style a6c3c16
- feat: ts config & type declaration 1feacc7
- wip: pre-impl waitelement 0fca906
- init build kit a260e5c
- change package.json fb3531b
- add tool-versions 3dd2568
- feat: inject observeoptions b095a68
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.