@whitesev/utils 2.2.4 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5296,6 +5296,10 @@ System.register('Utils', [], (function (exports) {
5296
5296
  * @param target 目标元素
5297
5297
  * @param callback 触发的回调
5298
5298
  * @param options 观察器配置
5299
+ * @example
5300
+ * Utils.mutationVisible(document.querySelector("div.xxxx"),(entries,observer)=>{
5301
+ * console.log("该元素出现在视图内");
5302
+ * }))
5299
5303
  */
5300
5304
  mutationVisible(target, callback, options) {
5301
5305
  if (typeof IntersectionObserver === "undefined") {