top | item 36972326

(no title)

clairity | 2 years ago

yah, would be nice if it were baked into html itself, but at least the javascript isn't complicated, and can be put in an `onclick` attribute:

  <button onclick="document.querySelector('#my-dialog').showModal();">open my dialog</button>

discuss

order

No comments yet.