|
|
|
|
|
by clairity
1050 days 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>
|
|