File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
projects/coreui-angular/src/lib/grid Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { BreakpointInfix } from '../coreui.types';
9
9
} )
10
10
export class ColDirective implements ICol {
11
11
12
+ static ngAcceptInputType_cCol : ( BooleanInput | NumberInput ) ;
12
13
static ngAcceptInputType_xs : ( BooleanInput | NumberInput ) ;
13
14
static ngAcceptInputType_sm : ( BooleanInput | NumberInput ) ;
14
15
static ngAcceptInputType_md : ( BooleanInput | NumberInput ) ;
@@ -21,6 +22,10 @@ export class ColDirective implements ICol {
21
22
* @type { 'auto' | number | boolean }
22
23
*/
23
24
@Input ( )
25
+ set cCol ( value : ( BooleanInput | NumberInput ) ) {
26
+ this . xs = this . xs || this . coerceInput ( value ) ;
27
+ }
28
+ @Input ( )
24
29
set xs ( value ) {
25
30
this . _xs = this . coerceInput ( value ) ;
26
31
}
You can’t perform that action at this time.
0 commit comments