@hydroperx/metrodesign
    Preparing search index...

    Variable IconMapConst

    IconMap: {
        clear(): void;
        get(type: string, color: "white" | "black"): any;
        register(type: string, sources: { black: any; white: any }): void;
        registerMap(map: Map<string, { black: any; white: any }>): void;
        snapshot(): Map<string, { black: any; white: any }>;
        unregister(type: string): void;
    } = ...

    Static icon map.

    Type Declaration

    • clear: function
    • get: function
      • Parameters

        • type: string
        • color: "white" | "black"

        Returns any

    • register: function
      • Parameters

        • type: string
        • sources: { black: any; white: any }

        Returns void

    • registerMap: function
      • Parameters

        • map: Map<string, { black: any; white: any }>

        Returns void

    • snapshot: function
      • Returns the icon map.

        Returns Map<string, { black: any; white: any }>

    • unregister: function