MDN self-hosted library · e01.org

InterestEvent

Popover API

no runnable cells web-api-interface upstream source

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 interest and loseinterest events, which fire on the target element when interest is shown or lost, respectively.

Constructor

  • InterestEvent()
  • : Creates an InterestEvent object.

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 interest event reference page for examples.

Specifications

Browser compatibility

See also