Micromodal
Micromodal copied to clipboard
Allow to pass Element itself to targetModal, not only 'id' of element
trafficstars
Enables usage of library in web-components. See https://github.com/ghosh/Micromodal/issues/65#issuecomment-654797068

You need to do this same thing this.modal = typeof targetModal === "string" ? document.getElementById(targetModal) : targetModal at the closeModal function
please merge this!