title: How to initialize carousel full-width and indicators with vanilla java-script in materialize?
body: <p>I am trying to enable indicators and full-width on carousel slider with vanilla Javascript in materialize but miserably failed.</p>
  
  <p>I have tried it with jquery and it worked.</p>
  
  <p>Here is my js vanilla script:</p>
  
  <pre><code>&lt;script&gt;
      M.AutoInit();
      var instance = M.Carousel.init({fullWidth: true, indicators: true});
  &lt;/script&gt;
  </code></pre>
  
  <p>How to make it work?</p>