<div class="card">
<div class="card-image waves-effect waves-block waves-light">
<img class="activator" src="images/office.jpg">
</div>
<div class="card-content">
<span class="card-title activator grey-text text-darken-4">Card Title<i class="material-icons right">more_vert</i></span>
<p><a href="#">This is a link</a></p>
</div>
<div class="card-reveal">
<span class="card-title grey-text text-darken-4">Card Title<i class="material-icons right">close</i></span>
<p></p>
</div>
</div>
这是materializecss卡的代码。卡片显示将在点击<span class="card-title grey-text text-darken-4">Card Title<i class="material-icons right">close</i></span>
时关闭我想通过JS自动点击此内容。我试过.click()和.trigger('click');我无法实现它。