title: How to detect change in vue treeselect
body: <p>I am using vue treeselect to select multiple week days from a dropdown list. It works well but I want to run a piece of code when a change is made. I have read the <a href="https://vue-treeselect.js.org/" rel="nofollow noreferrer">documentation</a> but don't understand how to use an event. Think I may need the select event. Any help is appreciated!</p>
  <p>HTML:</p>
  <pre><code>&lt;treeselect :multiple=&quot;true&quot;
          :options=&quot;options&quot;
          :openOnClick=&quot;true&quot;
          :clearable=&quot;false&quot;
          :beforeClearAll=&quot;false&quot;
          :allowClearingDisabled=&quot;true&quot;
          :select=&quot;dayChange()&quot; //I know this doesn't work!
          v-model=&quot;days&quot; /&gt; &lt;treeselect-value :value=&quot;days&quot; /&gt;
  </code></pre>
  <p>JS:</p>
  <pre><code>vm = new Vue({
          el: &quot;.my-app&quot;,
          data: {
              ...,
              options: [
                  { id: 1, label: &quot;Monday&quot; },
                  { id: 2, label: &quot;Tuesday&quot; },
                  { id: 3, label: &quot;Wednesday&quot; },
                  { id: 4, label: &quot;Thursday&quot; },
                  { id: 5, label: &quot;Friday&quot; },
                  { id: 6, label: &quot;Saturday&quot; },
                  { id: 7, label: &quot;Sunday&quot; }
              ],
              ...
          },
  
          methods: {
              dayChange: function () {
                  alert(&quot;changed&quot;);
              },
          }
  })
  </code></pre>