Sv443 1 рік тому
батько
коміт
e6e33430b1
2 змінених файлів з 3 додано та 3 видалено
  1. 2 2
      .changeset/hot-wolves-jog.md
  2. 1 1
      .changeset/tender-zoos-fix.md

+ 2 - 2
.changeset/hot-wolves-jog.md

@@ -8,7 +8,7 @@
 - separate instances can have different MutationObserver options set to further reduce performance impact
 - the separation into instances allows for a new "chaining" paradigm where selector listeners are only added and checked for once they are actually needed (see examples in the documentation)
 - every listener can have a set debounce time, so that it doesn't get called too often (works the same as the [`debounce()` function](https://github.com/Sv443-Network/UserUtils/blob/main/README.md#debounce), but is disabled by default)
-- there are now multiple methods to get and delete specific or all listeners
+- there are now multiple methods to get and delete specific listeners
   
-The `SelectorObserver.addListener()` method is backwards compatible with the old `onSelector()` function, so you can just add the class instance in front (for full backwards compat use `document.body` for the baseElement parameter), then change the old function's name and it should work as before.  
+The `SelectorObserver.addListener()` method is backwards compatible with the old `onSelector()` function, so you can just add the class instance in front (for full backwards compat use `document.body` for the `baseElement` parameter of the constructor), then change the old function's name and it should work as before.  
 For more info and examples, please view the [SelectorObserver documentation](https://github.com/Sv443-Network/UserUtils/blob/main/README.md#selectorobserver)  

+ 1 - 1
.changeset/tender-zoos-fix.md

@@ -2,4 +2,4 @@
 "@sv443-network/userutils": patch
 ---
 
-Add `@linkcode` references to the JSDoc in-IDE documentation
+Added `@linkcode` references to the JSDoc in-IDE documentation