Skip to content

Commit 9aa6661

Browse files
Merge pull request #7900 from IgniteUI/ibarakov/fix-7899-9.1.x
fix(grid): mark grid's outlet property as input
2 parents b38ddc8 + 9176509 commit 9aa6661

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3335,24 +3335,23 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
33353335
}
33363336

33373337
/**
3338-
* Gets the outlet used to attach the grid's overlays to.
3338+
* Gets/Sets the outlet used to attach the grid's overlays to.
33393339
* @remark
33403340
* If set, returns the outlet defined outside the grid. Otherwise returns the grid's internal outlet directive.
33413341
*/
3342+
@Input()
33423343
get outlet() {
33433344
return this.resolveOutlet();
33443345
}
33453346

3347+
set outlet(val: IgxOverlayOutletDirective) {
3348+
this._userOutletDirective = val;
3349+
}
3350+
33463351
protected resolveOutlet() {
33473352
return this._userOutletDirective ? this._userOutletDirective : this._outletDirective;
33483353
}
33493354

3350-
/**
3351-
* Sets the outlet used to attach the grid's overlays to.
3352-
*/
3353-
set outlet(val: any) {
3354-
this._userOutletDirective = val;
3355-
}
33563355

33573356
/**
33583357
* Gets the default row height.

0 commit comments

Comments
 (0)