Una Kravets 5/23/2023

Introducing the popover API

Read Original

This article introduces the new declarative HTML popover API, available from Chromium 114. It explains how to build popovers, toggletips, and dialog-like components without custom JavaScript, covering features like top-layer promotion, light-dismiss, focus management, and accessible keyboard bindings. It details the basic syntax, default behaviors, overrides with `popovertargetaction`, and compares popovers to dialogs.

Introducing the popover API

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser