@darkchest/wck 0.0.15 → 0.0.16

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -61,7 +61,7 @@
61
61
  - 在vue组件中支持(onMounted/mounted)和(onUnmounted/destroyed)生命周期钩子函数来执行初始化与销毁操作.
62
62
  - 所有编译后的web-component组件都会默认触发mounted/unmounted两个生命周期事件方便页面监听并进行某些初始化操作.
63
63
  - 所有编译后的web-component组件都默认增加$el, $parent, $children, $root属性.
64
- - 所有编译后的web-component组件都默认增加$emit(name, data), on(name, handler), off(name, handler), off(name, handler)方法.
64
+ - 所有编译后的web-component组件都默认增加$emit(name, data), on(name, handler), once(name, handler), off(name, handler)方法.
65
65
 
66
66
  ## 🛠️ 安装与配置
67
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darkchest/wck",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "@darkchest/wck是一个通过将 Vue 单文件组件 (SFC) 转换为通用的web-component组件的解决方案。",
5
5
  "private": false,
6
6
  "main": "src/index.js",