Js problem with reference to materialize

component reference succeeded
but I want to add a plug-in option time--constant
I don"t know how to write js

html:
< div class= "carousel carousel-slider center" data-indicators= "true" >

<div class="carousel-item " href="-sharpone!">
    <img  src="image/photography/hhzp2.jpg">
</div>
<div class="carousel-item " href="-sharptwo!">
    <img src="image/photography/hhzp3.jpg">
</div>
<div class="carousel-item " href="-sharpthree!">
  <img src="image/photography/zt2.jpg">
</div>

js:
$(document) .ready (function () {

$(".carousel.carousel-slider").carousel({full_width: true});

});


isn't that right?

$('.carousel.carousel-slider').carousel({full_width: true, time_constant: 300})
Menu