We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 831e597 commit c5ea18dCopy full SHA for c5ea18d
projects/coreui-angular/src/lib/grid/col.directive.ts
@@ -9,6 +9,7 @@ import { BreakpointInfix } from '../coreui.types';
9
})
10
export class ColDirective implements ICol {
11
12
+ static ngAcceptInputType_cCol: (BooleanInput | NumberInput);
13
static ngAcceptInputType_xs: (BooleanInput | NumberInput);
14
static ngAcceptInputType_sm: (BooleanInput | NumberInput);
15
static ngAcceptInputType_md: (BooleanInput | NumberInput);
@@ -21,6 +22,10 @@ export class ColDirective implements ICol {
21
22
* @type { 'auto' | number | boolean }
23
*/
24
@Input()
25
+ set cCol(value: (BooleanInput | NumberInput)) {
26
+ this.xs = this.xs || this.coerceInput(value);
27
+ }
28
+ @Input()
29
set xs(value) {
30
this._xs = this.coerceInput(value);
31
}
0 commit comments