Subscribe on changes!

doc bug!

avatar
Oct 13th 2022

Vue version

2.6.14

Link to minimal reproduction

https://cn.vuejs.org/guide/components/attrs.html#v-on-listener-inheritance

Steps to reproduce

https://cn.vuejs.org/guide/components/attrs.html#v-on-listener-inheritance and https://cn.vuejs.org/guide/components/attrs.html#disabling-attribute-inheritance

Duplicate Document!

What is expected?

Not meeting expectations

What is actually happening?

Need ".native" or "$listeners" Otherwise, it cannot penetrate

or

"The object includes all attributes that are not declared by the component's or options (e.g., , , listeners, etc.).$attrspropsemitsclassstylev-on"

only "class" can

System Info

No response

Any additional comments?

No response

avatar
Oct 13th 2022

cn.vuejs.org is the documentation of Vue 3, and here vuejs/core is also repo of Vue 3.

Here is Vue 2 docs