ng2-bootstrap-modal
ng2-bootstrap-modal copied to clipboard
Alternative component - use ngx-simple-modal instead (Maintained)
I see a lot of people banging there heads on the wall here waiting for anko to have time to come back. If you need something that will work today on v5.x support with a few small refactors you can use https://github.com/kevcjones/ngx-simple-modal, i'll try to keep on top of issues and collaboration welcome.
It isn't a like for like swap, we decided Bootstrap should be optional, not enforced as a dependency, since the modal implementation is in the hands of the developer, you can use any css framework, we've even bundled a default css you can use.
Demo pretty much the same, a couple of opinionated changes to the config etc.. https://stackblitz.com/edit/ngx-simple-modal-demo?embed=1&file=styles.css
Just an update - i'm still maintaining this alternate version. Which works fine in 5+. I still rate this as one of the better ways implement a modal in an 'angular way'. Please do stop by and throw me any requests. A year as passed now since Anko has touched this one.
I've recently updated the https://github.com/kevcjones/ngx-simple-modal to work with Angular v6. I think it's safe to say after a year of no author activity they've moved on to something else.
@KevCJones Just wanted to give an appreciative call out. I just migrated a reasonably large usage of ng2-bootstrap-modal over to ngx-simple-modal, and it went way smoother than I had any right to expect. The port involved probably about 15-20 modals and a large number of usages, and was completed in about 30 min with mostly mechanical project wide find/replace.
I owe you a beer.
Damn... I didn't get the notification for this but it's a nice thing to stumble on. I'll take the beer if we ever get out of lockdown 🙊 Glad it helped, it will be maintained for a long while to go, I've made it core to our apps here. 👍
2023 says hi, I've just migrated a old project using ng2-bootstrap-modal elements to use this library instead and it went quite smoothly, thank you very much. Lucky to stumble upon this.