<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>duriagarthan</author_name>
  <author_url>https://blog.hatena.ne.jp/duriagarthan/</author_url>
  <blog_title>ワイのメモ帳なんやで...</blog_title>
  <blog_url>https://waino.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>セミコロン無しの人</anon>
  </categories>
  <description>Vue.jsを使っていると 「子に渡したpropsの値を変更したら親側の値も変更されるようにしたい！」 というシーンに割とよく直面する。 propsの値はそのままv-modelでは使用できないという制約もあり、回避策の知識がないと割と困ってしまうものである。(公式に書いてあるけどというツッコミは無しな！) なので今回は子のComponentで変更された値を親に反映する方法を紹介します。 実行結果だけ知りたい人はSandboxが一番下にあるのでスクロールしてね☆ modelプロパティを指定する Vue.js 2.2.0 からmodelプロパティが追加された。 詳しくは公式にかかれているが、正直わ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwaino.hateblo.jp%2Fentry%2F2018%2F10%2F22%2F115853&quot; title=&quot;Vue.js v-modelなComponent - ワイのメモ帳なんやで...&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-22 11:58:53</published>
  <title>Vue.js v-modelなComponent</title>
  <type>rich</type>
  <url>https://waino.hateblo.jp/entry/2018/10/22/115853</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
