File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1597,11 +1597,11 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
1597
1597
@WatchChanges ( )
1598
1598
@HostBinding ( 'style.height' )
1599
1599
@Input ( )
1600
- public get height ( ) {
1600
+ public get height ( ) : string | null {
1601
1601
return this . _height ;
1602
1602
}
1603
1603
1604
- public set height ( value : string ) {
1604
+ public set height ( value : string | null ) {
1605
1605
if ( this . _height !== value ) {
1606
1606
this . _height = value ;
1607
1607
this . nativeElement . style . height = value ;
@@ -1627,11 +1627,11 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
1627
1627
*/
1628
1628
@WatchChanges ( )
1629
1629
@Input ( )
1630
- public get width ( ) {
1630
+ public get width ( ) : string | null {
1631
1631
return this . _width ;
1632
1632
}
1633
1633
1634
- public set width ( value ) {
1634
+ public set width ( value : string | null ) {
1635
1635
if ( this . _width !== value ) {
1636
1636
this . _width = value ;
1637
1637
this . nativeElement . style . width = value ;
@@ -2942,8 +2942,8 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
2942
2942
private rowListDiffer ;
2943
2943
private _hiddenColumnsText = '' ;
2944
2944
private _pinnedColumnsText = '' ;
2945
- private _height = '100%' ;
2946
- private _width = '100%' ;
2945
+ private _height : string | null = '100%' ;
2946
+ private _width : string | null = '100%' ;
2947
2947
private _rowHeight ;
2948
2948
private _horizontalForOfs : Array < IgxGridForOfDirective < any > > = [ ] ;
2949
2949
private _multiRowLayoutRowSize = 1 ;
You can’t perform that action at this time.
0 commit comments