Skip to content

Update non-props attributes link #405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/api/options-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,4 @@
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.
:::

* **See also:** [Attribute Inheritance](../guide/component-props.html#non-prop-attributes)
* **See also:** [Attribute Inheritance](../guide/component-attrs.html#attribute-inheritance)
2 changes: 1 addition & 1 deletion src/guide/class-and-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ app.component('my-component', {
})
```

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

## Binding Inline Styles

Expand Down
2 changes: 1 addition & 1 deletion src/guide/custom-directive.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,4 @@ This also means it's possible to directly hook into an element's lifecycle like
<div @vnodeMounted="myHook" />
```

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.
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.
2 changes: 1 addition & 1 deletion src/guide/migration/fragments.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ In 3.x, components now can have multiple root nodes! However, this does require
</template>
```

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