This repository was archived by the owner on Sep 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,10 @@ md-checkbox.md-THEME_NAME-theme {
80
80
border-color : ' {{background-200}}' ;
81
81
}
82
82
83
+ ._md-icon :after {
84
+ border-color : ' {{foreground-3}}' ;
85
+ }
86
+
83
87
._md-label {
84
88
color : ' {{foreground-3}}' ;
85
89
}
Original file line number Diff line number Diff line change @@ -31,8 +31,11 @@ angular
31
31
* @param {expression= } md-indeterminate This determines when the checkbox should be rendered as 'indeterminate'.
32
32
* If a truthy expression or no value is passed in the checkbox renders in the md-indeterminate state.
33
33
* If falsy expression is passed in it just looks like a normal unchecked checkbox.
34
- * The indeterminate, checked, and unchecked states are mutually exclusive. A box cannot be in any two states at the same time.
35
- * When a checkbox is indeterminate that overrides any checked/unchecked rendering logic.
34
+ * The indeterminate, checked, and unchecked states are mutually exclusive. A box cannot be in any two states at the same time.
35
+ * Adding the 'md-indeterminate' attribute overrides any checked/unchecked rendering logic.
36
+ * When using the 'md-indeterminate' attribute use 'ng-checked' to define rendering logic instead of using 'ng-model'.
37
+ * @param {expression= } ng-checked If this expression evaluates as truthy, the 'md-checked' css class is added to the checkbox and it
38
+ * will appear checked.
36
39
*
37
40
* @usage
38
41
* <hljs lang="html">
You can’t perform that action at this time.
0 commit comments