Skip to content
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

aliasing component "props" names #8522

Closed
jossef opened this issue Jul 19, 2018 · 1 comment
Closed

aliasing component "props" names #8522

jossef opened this issue Jul 19, 2018 · 1 comment

Comments

@jossef
Copy link

jossef commented Jul 19, 2018

What problem does this feature solve?

similar to angularjs directives, would like the ability to alias the names the component's parent uses to pass values

What does the proposed API look like?

component:

export default {
		name: "paging",
		props: {
			"count": {"name": "pagingCount", "type": Number}
		},

parent:

<paging v-bind:paging-count="itemsCount"></paging>
@posva
Copy link
Member

posva commented Jul 19, 2018

Duplicate of #7943

@posva posva marked this as a duplicate of #7943 Jul 19, 2018
@posva posva closed this as completed Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants