I tweaked my modal that I’m using in some of my modules. Instead of duplicating this all over the place I created a new module for a single source of truth and so it can also be used by other devs/users.
Modal and dialog windows with touch, voice and non input support.
I just started building it so it might still have some bugs.
- Modal positioning
- Blur on render error
- List of depending modules
- Callback option after render for developers
- ESLint ruleset from
- Moved nunjuck templates in separate directory
- node versions for travis
- doclet integration
I really like this module, especially with touch screen usage.
The implementation is easy but still very powerful.
F.e. I added support for the following two modules:
In MMM-Spotify it is used to display account / device selection popups on screen. The available
callbackpayload function makes this work in the first place, as we (of course) need to react on the made user selections
So again, great module, thanks!
With MMM-ip another module has now integrated the modals. See the full list at https://github.com/fewieden/MMM-Modal/wiki/Depending-Modules
With MMM-soccer another module has now integrated the modals.
See the full list at https://github.com/fewieden/MMM-Modal/wiki/Depending-Modules