Skip to content

<properties> seems to be redundant with the popover API #57

Open

Description

@dead-claudia

<properties> could be done in terms of native popovers: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/popover.

There's precedent already in <details> and slotted custom elements for giving one behavior for specific elements (<summary> and elements with slot attributes) while giving another behavior for the rest, so it's safe to just drop that IMHO. And notably, popovers have a complete separation of trigger element and popover element, so it won't even be necessary to have the popover in the <feature> at all.

Activity

  1. prushforth commented on May 9, 2025

    @prushforth
    Member

    Yes, this is the subject of an investigation that we've been meaning to pursue, but have not yet had time to do so. Also, popover API didn't exist at the time we started this project, but you are correct we need to figure out how to incorporate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions