chromium/third_party/blink/renderer/core/events/interest_event.idl

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

[
    RuntimeEnabled=HTMLInterestTargetAttribute,
    Exposed=Window
] interface InterestEvent : Event {
    constructor(DOMString type, optional InterestEventInit eventInitDict = {});
    readonly attribute Element? invoker;
    readonly attribute DOMString action;
};

dictionary InterestEventInit : EventInit {
    Element? invoker = null;
    DOMString action = "";
};