Skip to content

Commit

Permalink
fix(modal): allows to set an HTMLElement as container in NgbModalConf…
Browse files Browse the repository at this point in the history
…ig (#4161)

Fixes #4160
  • Loading branch information
ddiebel authored and maxokorokov committed Feb 24, 2022
1 parent 67c5977 commit a93c439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modal/modal-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class NgbModalConfig implements Required<NgbModalOptions> {
backdrop: boolean | 'static' = true;
beforeDismiss: () => boolean | Promise<boolean>;
centered: boolean;
container: string;
container: string | HTMLElement;
injector: Injector;
keyboard = true;
scrollable: boolean;
Expand Down

0 comments on commit a93c439

Please sign in to comment.