Variable IconRegistryConst
IconRegistry: {
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;
unregister(type: string): void;
} = ...
Type declaration
get: function
get(type: string, color: "white" | "black"): any Parameters
- type: string
- color: "white" | "black"
Returns any
register: function
register(type: string, sources: { black: any; white: any }): void Parameters
- type: string
- sources: { black: any; white: any }
Returns void
registerMap: function
registerMap(map: Map<string, { black: any; white: any }>): void Parameters
- map: Map<string, { black: any; white: any }>
Returns void
unregister: function
unregister(type: string): void
Icon registry.