Egret Engine R - v6.0.0
    Preparing search index...

    Interface DisplayObject

    interface DisplayObject {
        addEventListener<Z>(
            type:
                | "touchMove"
                | "touchBegin"
                | "touchEnd"
                | "touchCancel"
                | "touchTap"
                | "touchReleaseOutside"
                | "touchRollOut"
                | "touchRollOver",
            listener: (this: Z, e: TouchEvent) => void,
            thisObject: Z,
            useCapture?: boolean,
            priority?: number,
        ): any;
        addEventListener(
            type: string,
            listener: Function,
            thisObject: any,
            useCapture?: boolean,
            priority?: number,
        ): any;
    }
    Index
    • Type Parameters

      • Z

      Parameters

      • type:
            | "touchMove"
            | "touchBegin"
            | "touchEnd"
            | "touchCancel"
            | "touchTap"
            | "touchReleaseOutside"
            | "touchRollOut"
            | "touchRollOver"
      • listener: (this: Z, e: TouchEvent) => void
      • thisObject: Z
      • OptionaluseCapture: boolean
      • Optionalpriority: number

      Returns any

    • Parameters

      • type: string
      • listener: Function
      • thisObject: any
      • OptionaluseCapture: boolean
      • Optionalpriority: number

      Returns any