Last active
March 22, 2024 11:33
-
-
Save goper/62b8e9fd7826ffec0d1b6a495dff7442 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ChildComponent v-model="pageTitle" /> | |
<!-- будет сокращённой версия для: --> | |
<ChildComponent | |
:modelValue="pageTitle" | |
@update:modelValue="pageTitle = $event" | |
/> | |
<ChildComponent | |
v-model:title="pageTitle" | |
v-model:content="pageContent" | |
/> | |
<!-- будет сокращённой версией для: --> | |
<ChildComponent | |
:title="pageTitle" | |
@update:title="pageTitle = $event" | |
:content="pageContent" | |
@update:content="pageContent = $event" | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment