title: How to pass vuejs html template as slot and access from data or method
body: <p>I have a component like this:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;my-dropzone value:"...."&gt; 
      &lt;h1&gt;upload&lt;/h1&gt;
      &lt;p&gt;your files&lt;/p&gt;
  &lt;/my-dropzone&gt;
  
  </code></pre>
  
  <p>and my vuejs component is:</p>
  
  <pre><code>&lt;template&gt;
      &lt;div&gt;
          &lt;div class="dropzone"&gt;&lt;/div&gt;
          &lt;slot&gt;&lt;/slot&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
    ....
  
      export default {
          props:{
             ....
          },
          components: {
              vueDropzone: vue2Dropzone
          },
          data() {
              return {
                  arrayFiles: [],
                  dropzoneOptions: {
  
                     ....
                      dictDefaultMessage: // &lt;------ I want to assign slot data here
                      ,
                    ....
          },
          mounted() {
             .....
  
          },
          methods: {
              .....
          },
          computed: {
             .....
          }
      }
  &lt;/script&gt;
  
  </code></pre>
  
  <p>Now I want to get slot html data and assign to some local variable of component and also use in method. Is it possible? Is there any better solution to pass html to data variable</p>