HelperUtils: {
    assign: (dest: any, source: any) => any;
    detectSupport: () => boolean;
    getUid: (prefix: string, obj?: any) => string;
    mergeParams: (dest: any, source: any, replace: boolean) => void;
} = ...

Type declaration

  • assign: (dest: any, source: any) => any

    Copies all source object members to dest

    assign

  • detectSupport: () => boolean

    this method is called by the constructor. this information is useful to switch to touch mode. Detection : test for desktop or tactile

    detectSupport

  • getUid: (prefix: string, obj?: any) => string

    Gets a unique ID for an object. This mutates the object so that further calls with the same object as a parameter returns the same value. Unique IDs are generated as a strictly increasing sequence. Adapted from goog.getUid.

  • mergeParams: (dest: any, source: any, replace: boolean) => void

    Merge two objects parameters (deeper than assign)

    mergeParams