作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
mat-list
控件在这里有特色: https://material.angular.io/components/list/overview
是否可以使用前面的复选框开始列表项(而不是由于默认情况而在末尾添加后缀)?
我试过了,但没有成功!
/* mat-list: atempt to move the checkboxes to the far left */
.mat-pseudo-checkbox {
left: 0 !important;
}
最佳答案
每个组件都有一个 API 部分,为您提供额外的功能:
https://material.angular.io/components/list/api#MatListOption
<mat-list-option checkboxPosition="before"></mat-list-option>
关于html - Angular Materials mat-list 选项(是否可以定位左侧的复选框?),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47970515/
我是一名优秀的程序员,十分优秀!