sync
Bidirectional data binding of components via sync syntax
<template component>
<input type="text" sync:value="txt" />
<br>
render txt: {{txt}}
<script>
export default {
tag:"sync-render",
data:{
txt:"I am txt"
},
};
</script>
</template>
sync can also be bound to the instance properties of embedded components. For examples, please refer to the two-way data binding case.