Topic: Modal content loading
How to load images in modal only after opening? Currently they are all preloaded.
shown.mdb.modal events. Simply add source for your image when the event gets fired. Here is the snippet showing how to do it with
shown.mdb.modal event, so as you can see that image is loaded after the modal has been opened:
show.mdb.modal event is triggered earlier. More information can be found here https://mdbootstrap.com/docs/standard/components/modal/ under the API tab.
Services & Consulting
Hire our experts to help you design or build a dedicated project.
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: Any
- Browser: Any
- OS: Any
- Provided sample code: No
- Provided link: No
- Can dynamic modals using 'ng-uikit-pro-standard' be used by a free user for adding modals to project (that needs to be deployed on cloud).