Skip to content

Commit 0a81ceb

Browse files
authored
docs: Update non-props attributes link (#405)
1 parent e06100f commit 0a81ceb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/api/options-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,4 +295,4 @@
295295
Events listed in the `emits` option **will not** be inherited by the root element of the component and also will be excluded from the `$attrs` property.
296296
:::
297297

298-
* **See also:** [Attribute Inheritance](../guide/component-props.html#non-prop-attributes)
298+
* **See also:** [Attribute Inheritance](../guide/component-attrs.html#attribute-inheritance)

src/guide/class-and-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ app.component('my-component', {
180180
})
181181
```
182182

183-
You can learn more about component attribute inheritance in [Component Props](component-props.html#non-prop-attributes) section.
183+
You can learn more about component attribute inheritance in [Non-Prop Attributes](component-attrs.html) section.
184184

185185
## Binding Inline Styles
186186

src/guide/custom-directive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,4 +245,4 @@ This also means it's possible to directly hook into an element's lifecycle like
245245
<div @vnodeMounted="myHook" />
246246
```
247247

248-
This is consistent with the [attribute fallthrough behavior](component-props.html#non-prop-attributes). So, the rule for custom directives on a component will be the same as other extraneous attributes: it is up to the child component to decide where and whether to apply it. When the child component uses `v-bind="$attrs"` on an inner element, it will apply any custom directives used on it as well.
248+
This is consistent with the [attribute fallthrough behavior](component-attrs.html). So, the rule for custom directives on a component will be the same as other extraneous attributes: it is up to the child component to decide where and whether to apply it. When the child component uses `v-bind="$attrs"` on an inner element, it will apply any custom directives used on it as well.

src/guide/migration/fragments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ In 3.x, components now can have multiple root nodes! However, this does require
3737
</template>
3838
```
3939

40-
For more information on how attribute inheritance works, see [Non-Prop Attributes](/guide/component-props.html#disabling-attribute-inheritance).
40+
For more information on how attribute inheritance works, see [Non-Prop Attributes](/guide/component-attrs.html).

0 commit comments

Comments
 (0)