Breaking Changes
- Previously you could pass findAndReplaceDOMText options directly, now they must be in a sub object called
passThrough
.- v1.3.0 -
findInNw.initialize({ preset: 'prose' });
- v2.0.0 -
findInNw.initialize({ passThrough: { preset: 'prose' } });
- v1.3.0 -
Features
- The search re-runs if the DOM changes, but that isn't always desirable. You can now pass in a list of classes or ID's that should not trigger re-running the search if they change in the DOM.
- There is also a
verbose
option that can be enabled to see a list of all DOM elements that changed, triggering a re-run of the search function
Special thanks to @DavidAccola for the feature request (#23)
Maintenance
- Updated documentation