简体   繁体   English

如何使用Semantic-UI中的占位符元素?

[英]How to use placeholder element from Semantic-UI?

I want to use the Placeholder element 我想使用占位符元素

<div class="ui placeholder">
  <div class="image"></div>
</div>

But I can't figure out if I have to replace manually the content on it or there's a function out-of-the-box. 但是我不知道是必须手动替换其中的内容还是有现成的功能。

I have read the documentation but I haven't found anything for that. 我已经阅读了文档,但是还没有找到任何东西。

不,没有现成的功能-您必须手动替换占位符元素的内容,同时删除placeholder类。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM