Nice and easy. This basically mimicks the old window.confirm modal dialog.
But what about extending HTMLDialogElement instead? Granted, it's not available in Safari...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice and easy. This basically mimicks the old
window.confirm
modal dialog.But what about extending
HTMLDialogElement
instead? Granted, it's not available in Safari...