Skip to content

Commit 28ddbde

Browse files
committed
docs(column): Fixed doc strings
1 parent 893918c commit 28ddbde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/igniteui-angular/src/lib/grids/columns/column.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy {
524524
* ```typescript
525525
* styles = {
526526
* background: 'royalblue',
527-
* color: (column) => column.pinned : 'red': 'inherit'
527+
* color: (column) => column.pinned ? 'red': 'inherit'
528528
* }
529529
* ```
530530
* ```html
@@ -561,7 +561,7 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy {
561561
* ```typescript
562562
* styles = {
563563
* background: 'royalblue',
564-
* color: (column) => column.pinned : 'red': 'inherit'
564+
* color: (column) => column.pinned ? 'red': 'inherit'
565565
* }
566566
* ```
567567
* ```html
@@ -605,7 +605,7 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy {
605605
* ```typescript
606606
* styles = {
607607
* background: 'royalblue',
608-
* color: (rowData, columnKey, cellValue, rowIndex) => value.startsWith('Important') : 'red': 'inherit'
608+
* color: (rowData, columnKey, cellValue, rowIndex) => value.startsWith('Important') ? 'red': 'inherit'
609609
* }
610610
* ```
611611
* ```html

0 commit comments

Comments
 (0)