Skip to content

Commit bfa2c7d

Browse files
committed
Add feature for interest invokers
1 parent d9f3a9b commit bfa2c7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

features/interest-invokers.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: 'Interest invokers'
2+
description: The `interestfor` global HTML attribute adds "interest" behaviors to the element, such that when the user "shows interest" in the element, actions are triggered on the target element, such as showing a popover. The user agent handles detecting when the user "shows interest" in the element, via methods such as hovering the element with a mouse, hitting special hotkeys on the keyboard, or long-pressing the element on touchscreens. When interest is shown or lost, an `InterestEvent` is fired on the target, which have default actions in the case of popovers - showing and hiding the popover.
3+
spec: https://github.com/whatwg/html/pull/11006
4+
group: html
5+
compat_features:
6+
- api.HTMLElement.interestfor
7+
- html.global_attributes.interestfor

0 commit comments

Comments
 (0)