A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/5937 below:

Add .sync modifier to v-bind directive · Issue #5937 · vuejs/vue · GitHub

What problem does this feature solve?

Currently, this syntax is supported,

<component v-bind="{propA, propB}" />

However, if you want to use the .sync modifier on the props, then you can't use the ES6 object destructuring syntax anymore.

<component :propA.sync="propA" :propB.sync="propB" />
What does the proposed API look like?
<component v-bind.sync="{propA, propB}" />

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4