Popover API
The InterestEvent interface represents an event that fires when interest is shown or lost on an interest invoker.
This is the event object for the HTMLElement.interest_event and HTMLElement.loseinterest_event events, which fire on the target element when interest is shown or lost, respectively.
Constructor
- InterestEvent.InterestEvent
- : Creates an
InterestEventobject.
- : Creates an
Instance properties
This interface inherits properties from its parent, Event.
- InterestEvent.source
- : An Element object instance that represents the interest invoker element on which interest was shown or lost to fire the event.
Examples
See the Using interest invokers guide and the HTMLElement.interest_event event reference page for examples.
Specifications
Browser compatibility
See also
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
