如何删除列表中的复选框 [英] How to remove the check box in the lists
本文介绍了如何删除列表中的复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道了 stackblitz 列表示例选择如下图所示.
I got this stackblitz example for lists with selection as shown in below image.
在选择列表中,列表选择得很好,但是如何删除该复选框?
In the selection list,the list is selecting fine but how can i remove the checkbox?
推荐答案
为此添加display:none
I have create a demo on Stackblitz
.css/.sccc
.css /.sccc
:host {
::ng-deep.mat-pseudo-checkbox{
display: none !important;
}
}
这篇关于如何删除列表中的复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文