Skip to content

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

Open
bmomberger-bitovi wants to merge 7 commits intomasterfrom
upgrade-old-legacy-bindings
Open

Upgrade stache bindings with old key="{value}" and can-event/can-value syntax.#161
bmomberger-bitovi wants to merge 7 commits intomasterfrom
upgrade-old-legacy-bindings

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