Skip to content

[popup] What are the precedence rules for togglepopup, showpopup, and hidepopup #523

@mfreed7

Description

@mfreed7

See #508 for context, but the popup now supports three content attributes:

  • togglepopup=popup_id: If popup_id refers to a showing popup, hide it. If popup_id refers to a hidden popup, show it.
  • showpopup=popup_id: If popup_id refers to a hidden popup, show it.
  • hidepopup=popup_id: If popup_id refers to a showing popup, hide it.

The question becomes: what happens when one element has more than one of these attributes set? What if they point to different idrefs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    popoverThe Popover API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions