/** * Copyright (c) 2017-present, RobotlegsJS. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { IPrioritySignal } from "../IPrioritySignal"; export interface IEvent { /** * The object that originally dispatched the event. * When dispatched from an signal, the target is the object containing the signal. */ target: any; /** * The object that added the listener for the event. */ currentTarget: any; /** * The signal that dispatched the event. */ signal: IPrioritySignal; /** * Indicates whether the event is a bubbling event. */ bubbles: boolean; /** * Returns a new copy of the instance. */ clone(): IEvent; }