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

Upgrade stache bindings with old key="{value}" and can-event/can-value syntax. #161

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

bmomberger-bitovi
Copy link

After this change:

<custom-component prop="{H1}" /> => <custom-component prop:from="H1" /> or <custom-component vm:prop:from="H1" />
<input can-value="H2"> => <input value:bind="H2"> or <input el:value:bind="H2">
<input can-click="H3"> = <input on:click="H3"> or <input on:el:click="H3">

...depending on whether explicit bindings are enabled. "can-" events and value bindings are assumed to always be bound to the element and not a VM.

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.

1 participant