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

#2182 allow es2015 style params and bindings #2185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meltuhamy
Copy link

@meltuhamy meltuhamy commented Jan 17, 2017

This is a first stab at es6-style params. (#2182)

e.g.

<my-component params="thisIsSomethingOnTheVM, somethingElse, asBefore: something"></my-component>

would be equivalent to

<my-component params="thisIsSomethingOnTheVM: thisIsSomethingOnTheVM, somethingElse: somethingElse, asBefore: something"></my-component>```

@mbest
Copy link
Member

mbest commented Sep 30, 2019

This would be a breaking change in data-bind bindings. However, this might be okay for components. It would require passing an option when parsing a component's bindings.

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

Successfully merging this pull request may close these issues.

None yet

2 participants