To handle the closing event of a Bootstrap modal, the event name is '___'.
- hidden.bs.modal
- close.bs.modal
- dismiss.bs.modal
- closed.bs.modal
The correct answer is 'close.bs.modal'. This event is triggered immediately when the close instance method is called. It provides a hook for cleaning up tasks or performing actions before the modal is closed. Understanding modal events is crucial for effective modal usage in Bootstrap.
Loading...
Related Quiz
- To maintain Bootstrap functionality in Angular, you must import the Bootstrap ___ module.
- Q1. Describe how you would implement a dynamically updating news feed using Bootstrap.
- The '___' class in Bootstrap is used to ensure the columns are evenly spaced.
- What is the primary advantage of using Sass with Bootstrap?
- __________ CSS rules in Bootstrap can lead to faster browser rendering by reducing reflow and repaint.