convert javascript function to typescript online 1

convert javascript function to typescript online

document.querySelector(document).ready(function() {
      document.querySelector('#exemplomodal').modal('show');
  })

Here is what the above code is Doing:
1. We’re using the document.querySelector() method to select the modal with the id of exemplomodal.
2. We’re using the .modal() method to initialize the modal.
3. We’re using the .ready() method to make sure the modal is initialized before we try to show it.

Similar Posts