@whitesev/domutils 1.7.5 → 1.8.1

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.
package/README.md CHANGED
@@ -28,10 +28,10 @@ nnpm add @whitesev/domutils
28
28
  - focus `绑定或触发元素的focus事件`
29
29
  - height `获取元素的高度`
30
30
  - hide `隐藏元素`
31
- - hover `当鼠标移入或移出元素时触发事件`
31
+ - onHover `当鼠标移入或移出元素时触发事件`
32
32
  - html `获取或设置元素的HTML内容`
33
- - keydown `当按键按下时触发事件`
34
- - keyup `当按键松开时触发事件`
33
+ - onKeydown `当按键按下时触发事件`
34
+ - onKeyup `当按键松开时触发事件`
35
35
  - next `获取当前元素的后一个兄弟元素`
36
36
  - off `取消绑定事件`
37
37
  - offset `设置或返回被选元素相对于文档的偏移坐标`
@@ -50,7 +50,7 @@ nnpm add @whitesev/domutils
50
50
  - siblings `获取当前元素的所有兄弟元素`
51
51
  - text `获取或设置元素的文本内容`
52
52
  - toggle `切换元素的显示和隐藏状态`
53
- - trigger `主动触发事件`
53
+ - emit `主动触发事件`
54
54
  - val `获取或设置元素的value属性值`
55
55
  - width `获取元素的宽度`
56
56
  - wrap `将一个元素包裹在指定的HTML元素中`