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.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *