phina.js.d.ts
    Preparing search index...

    Interface FrameAnimation

    interface FrameAnimation {
        finished: boolean;
        fit: boolean;
        paused: boolean;
        target?: phina.app.Element;
        addEventListener(type: string, listener: Function): this;
        attachTo(element: phina.app.Element): this;
        clear(type: string): this;
        clearEventListener(type: string): this;
        dispatchEvent(e: { type: string }): this;
        dispatchEventByType(type: string, param: object): this;
        fire(e: { type: string }): this;
        flare(type: string, param?: object): this;
        getTarget(): void | phina.app.Element;
        gotoAndPlay(name: string, keep?: boolean): this;
        gotoAndStop(name: string): this;
        has(type: string): boolean;
        hasEventListener(type: string): boolean;
        isAttached(): boolean;
        off(type: string, listener: Function): this;
        on(type: string, listener: Function): this;
        one(type: string, listener: Function): this;
        remove(): void;
        removeEventListener(type: string, listener: Function): this;
        setTarget(target: phina.app.Element): this;
        update(): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    finished: boolean
    fit: boolean
    paused: boolean
    target?: phina.app.Element

    Methods

    • Parameters

      • type: string
      • Optionalparam: object

      Returns this

    • Parameters

      • name: string
      • Optionalkeep: boolean

      Returns this

    • Parameters

      • name: string

      Returns this

    • Parameters

      • type: string
      • listener: Function

      Returns this

    • Parameters

      • type: string
      • listener: Function

      Returns this

    • Parameters

      • type: string
      • listener: Function

      Returns this