title: Vue onsen ui use component event
body: <p>I'm trying to exploit this <a href="https://onsen.io/v2/api/vue/v-ons-action-sheet.html#event-posthide" rel="nofollow noreferrer">onsen actionsheet</a> and I'm trying to trigger event when actionsheet is hidden.</p>
  
  <p><a href="https://i.stack.imgur.com/sR06W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sR06W.png" alt="enter image description here"></a></p>
  
  <p>I tried</p>
  
  <pre><code>new Vue({
      el: '#app',
      template: '#main',
      data() {
          return {
              actionSheetVisible: false
          }
      },
      created() {
          this.$ons.posthide(function() {
              alert();
          });
      }
  });
  </code></pre>
  
  <p>but seems I can't make it working. How can I add a listener for posthide event of the actionsheet?</p>