MCPcopy Create free account
hub / github.com/angular/components / iconKey

Function iconKey

src/material/icon/icon-registry.ts:737–739  ·  view source on GitHub ↗

Returns the cache key to use for an icon namespace and name.

(namespace: string, name: string)

Source from the content-addressed store, hash-verified

735
736/** Returns the cache key to use for an icon namespace and name. */
737function iconKey(namespace: string, name: string) {
738 return namespace + ':' + name;
739}
740
741function isSafeUrlWithOptions(value: any): value is SafeResourceUrlWithIconOptions {
742 return !!(value.url && value.options);

Callers 2

getNamedSvgIconMethod · 0.85
_addSvgIconConfigMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected