<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mah666hhh</author_name>
  <author_url>https://blog.hatena.ne.jp/mah666hhh/</author_url>
  <blog_title>スリ飯屋MaLankaのフリーエンジニアな日々</blog_title>
  <blog_url>https://www.malanka.org/</blog_url>
  <categories>
    <anon>技術関連</anon>
    <anon>技術関連 - Vue.js</anon>
  </categories>
  <description>クリックで実行される関数に、引数を渡したい。 1、v-onもしくは@clickで指定する関数に、 v-on:click=&quot;someFunction(引数)&quot; @click=&quot;someFunction(引数)&quot; のように引数を設定する。 // component.vue Delete Task 2、methods側の関数で、 function(1で設定した引数) のようにして受け取れる。 // component.vue methods: { deleteTask: function(task_id) { // 省略 } }</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.malanka.org%2Fentry%2FPasses-arguments-to-the-methods-to-be-executed-by-Vuejs-click&quot; title=&quot;【Vue.js】clickで実行されるmethodsに引数を渡す - スリ飯屋MaLankaのフリーエンジニアな日々&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mah666hhh/20201127/20201127204703.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-27 21:05:42</published>
  <title>【Vue.js】clickで実行されるmethodsに引数を渡す</title>
  <type>rich</type>
  <url>https://www.malanka.org/entry/Passes-arguments-to-the-methods-to-be-executed-by-Vuejs-click</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
