MCPcopy
hub / github.com/angular/angular / removeTagElement

Method removeTagElement

packages/platform-browser/src/browser/meta.ts:157–161  ·  view source on GitHub ↗

* Removes an existing ` ` tag element from the current HTML document. * @param meta The tag definition to match against to identify an existing tag.

(meta: HTMLMetaElement)

Source from the content-addressed store, hash-verified

155 * @param meta The tag definition to match against to identify an existing tag.
156 */
157 removeTagElement(meta: HTMLMetaElement): void {
158 if (meta) {
159 this._dom.remove(meta);
160 }
161 }
162
163 private _getOrCreateElement(
164 meta: MetaDefinition,

Callers 2

removeTagMethod · 0.95
meta_spec.tsFile · 0.80

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected