title: How to reference text that's in '<slot></slot>' in Vue.js
body: <p>How to reference text that's in  in Vue.js?</p>
  
  <pre><code>Vue.component('component', {
    template: `&lt;button&gt;&lt;slot&gt;&lt;/slot&gt;&lt;/button&gt;`,
    created: function() {
      // i would like to access the text in slot here
    }
  });
  </code></pre>