Ave*_*Joe 5 html css angular-material angular
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;
}
Run Code Online (Sandbox Code Playgroud)
cga*_*ian 19
每个组件都有一个API部分,为您提供其他功能:
https://material.angular.io/components/list/api#MatListOption
<mat-list-option checkboxPosition="before"></mat-list-option>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4440 次 |
| 最近记录: |