From 081830326aa98a221747717c2cfa7c7ae632e017 Mon Sep 17 00:00:00 2001 From: geofryzheng Date: Wed, 29 Mar 2023 12:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=85=E6=94=AF=E6=8C=81Vue=202=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- demo/index.html | 2 +- package.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 763aaeb..c2c04c9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # vue-observer-directive -通过[`window.IntersectionObserver`](https://developer.mozilla.org/zh-CN/docs/Web/API/IntersectionObserver)判断DOM是否在视口展示,在Vue自定义指令中进行方法执行。 +通过[`window.IntersectionObserver`](https://developer.mozilla.org/zh-CN/docs/Web/API/IntersectionObserver)判断DOM是否在视口展示,在Vue@2自定义指令中进行方法执行。 1. npm: 2. demo: @@ -14,7 +14,7 @@ 2. 浏览器引用 ```html - + ``` @@ -48,7 +48,7 @@ 1. 全局注册 ```html - + + diff --git a/package.json b/package.json index 00be6c9..8558f2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-observer-directive", - "description": "使用 IntersectionObserver 进行是否展示 DOM 判断(Vue自定义指令)", + "description": "使用 IntersectionObserver 进行是否展示 DOM 判断(Vue@2自定义指令)", "repository": { "type": "git", "url": "git@github.com:realgeoffrey/vue-observer-directive.git" @@ -33,5 +33,5 @@ "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-terser": "^5.1.2" }, - "version": "1.2.4" + "version": "1.2.5" }