Dialog
Also written: <dialog>, showModal()
A native HTML element for pop-up boxes like Kettle & Crane's cart. Opening it with showModal() moves focus inside, makes the rest of the page inert, and lets Escape close it.
Also written: <dialog>, showModal()
A native HTML element for pop-up boxes like Kettle & Crane's cart. Opening it with showModal() moves focus inside, makes the rest of the page inert, and lets Escape close it.