Highly opinionated modals to achieve a user experience I like:
Why’s it matter?
What does it do?
There are a few problems Knockout Modal tackles, including:
- Modals longer than the viewport height
- Nesting of modals
- Happily integrates with code for HTML5 history
- Accepts thenables (e.g. ES6 Promises) for data
- Separation of templates, code and style (opinionated … but reasonable).