我使用的是物化css框架,我目前使用的是chips组件。
代码如下
<div class="chips chips-initial"></div>现在,根据文档指南,我正在初始化芯片对象。
<script>
$('.chips-initial').material_chip({
data: [{
tag: 'Apple',
}, {
tag: 'Microsoft',
}, {
tag: 'Google',
}],
});
</script>一切正常,但我想知道如何显示关闭按钮或自定义图像(接触芯片),当芯片是在textbox.Currently中创建,它显示‘关闭’文本关闭该芯片。
发布于 2017-05-13 13:58:42
你包括物质图标了吗?
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">https://stackoverflow.com/questions/43953054
复制相似问题