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

Method constructor

src/material/icon/icon-registry.ts:100–104  ·  view source on GitHub ↗
(
    public url: SafeResourceUrl,
    public svgText: TrustedHTML | null,
    public options?: IconOptions,
  )

Source from the content-addressed store, hash-verified

98 svgElement: SVGElement | null = null;
99
100 constructor(
101 public url: SafeResourceUrl,
102 public svgText: TrustedHTML | null,
103 public options?: IconOptions,
104 ) {}
105}
106
107/** Icon configuration whose content has already been loaded. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected