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

    Interface Flickable

    interface Flickable {
        target?: phina.app.Element;
        addEventListener(type: string, listener: Function): this;
        attachTo(element: phina.app.Element): this;
        cancel(): void;
        clear(type: string): this;
        clearEventListener(type: string): this;
        dispatchEvent(e: { type: string }): this;
        dispatchEventByType(type: string, param: object): this;
        enable(): void;
        fire(e: { type: string }): this;
        flare(type: string, param?: object): this;
        getTarget(): void | phina.app.Element;
        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

    target?: phina.app.Element

    Methods

    • Parameters

      • type: string
      • Optionalparam: object

      Returns this

    • Parameters

      • type: string
      • listener: Function

      Returns this

    • Parameters

      • type: string
      • listener: Function

      Returns this

    • Parameters

      • type: string
      • listener: Function

      Returns this