Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property does not exist on NgbModalConfig #3568

Closed
taufiqahmed opened this issue Jan 28, 2020 · 2 comments
Closed

Property does not exist on NgbModalConfig #3568

taufiqahmed opened this issue Jan 28, 2020 · 2 comments

Comments

@taufiqahmed
Copy link

Getting Typescript error : Property 'centered' does not exist on type 'NgbModalConfig'.
Only 'backdrop' and 'keyboard' property is available to configure globally from NgbModalConfig.

Angular: 7.2
ng-bootstrap: 4.2.2
Bootstrap: 4.3.1

@maxokorokov
Copy link
Member

I think this was fixed in a more recent version. With the latest works fine:

https://stackblitz.com/edit/angular-ikpvgw?file=app/modal-config.ts

@maxokorokov
Copy link
Member

Duplicate of #3406

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants