Interface Event<TEventType, TTarget>

EventDispatcher 派发的已触发事件的最小预期事件.

interface Event<TEventType, TTarget> {
    target: TTarget;
    type: TEventType;
}

Type Parameters

  • TEventType extends string = string
  • TTarget = unknown

Properties

Properties

target: TTarget