Skip to content

ToggleEvent source attribute #494

@josepharhar

Description

@josepharhar

WebKittens

@annevk @nt1m

Title of the proposal

ToggleEvent source attribute

URL to the spec

whatwg/html#11186

URL to the spec's repository

https://github.com/whatwg/html

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

none

Mozilla standards-positions issue URL

whatwg/html#11186

WebKit Bugzilla URL

No response

Radar URL

No response

Description

This adds a new Element attribute to ToggleEvent called source. The ToggleEvent's source attribute is set to the element which invoked the element which the ToggleEvent is being fired on. Sources can be set up as a parameter passed to element.showPopover(), an element with the popovertarget attribute, or an element with the commandfor attribute.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions