title: Vue How to trigger vuejs-datepicker after it has been closed
body: <p>In my <code>vuejs</code>-application I have added the <a href="https://github.com/charliekassel/vuejs-datepicker" rel="nofollow noreferrer">vuejs-datepicker</a> which I trigger by clicking a button. When I've chosen a date, the datepicker is closed but when I try to open the datepicker again, nothing happens and I don't know why?! It seems that it only opens once...</p>
  <p>here is a snippet of my code:</p>
  <pre><code>&lt;span @click=&quot;openDatePicker&quot;&gt;open date picker&lt;/span&gt;
  
  &lt;datepicker v-model=&quot;selected_date&quot; @selected=&quot;isSelected&quot; @closed=&quot;closeDatePicker&quot; ref=&quot;datepicker&quot;&gt;&lt;/datepicker&gt;
  </code></pre>
  <p>then in my methods:</p>
  <pre><code>openDatePicker() {
     this.$refs.datepicker.showCalendar();
  },
  closeDatePicker(){
    I tried to to:
    this.$refs.datepicker.close();
  }
  </code></pre>
  <p>any suggestions?</p>