<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>phytoyasu</author_name>
  <author_url>https://blog.hatena.ne.jp/phytoyasu/</author_url>
  <blog_title>phytoyasuのブログ</blog_title>
  <blog_url>https://phytoyasu.hatenablog.com/</blog_url>
  <categories>
    <anon>Vue.js</anon>
  </categories>
  <description>親コンポーネント側 子コンポーネントのタグで囲んだ要素が渡される。 &lt;Child&gt; &lt;h1&gt;いいね数&lt;/h1&gt; &lt;h2&gt;{{ number }}&lt;/h2&gt; &lt;/Child&gt; 子コンポーネント側 渡された要素がslotタグの箇所に表示される。 &lt;div&gt; &lt;slot&gt;フォールバックコンテンツ&lt;/slot&gt; // フォールバックコンテンツ：親から渡される要素がない時に表示されるコンテンツ &lt;/div&gt; 子コンポーネントで定義されている値（propsも含む）は親から渡すHTML要素内で使うことはできない。ただしCSSは使える。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphytoyasu.hatenablog.com%2Fentry%2F2021%2F10%2F01%2F180029&quot; title=&quot;slot　~HTML要素を子コンポーネント側に渡す~ - phytoyasuのブログ&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>2021-10-01 18:00:29</published>
  <title>slot　~HTML要素を子コンポーネント側に渡す~</title>
  <type>rich</type>
  <url>https://phytoyasu.hatenablog.com/entry/2021/10/01/180029</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
