MCPcopy Create free account
hub / github.com/angular/angular / removeTagElement

Method removeTagElement

packages/platform-browser/src/browser/meta.ts:152–156  ·  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

150 * @param meta The tag definition to match against to identify an existing tag.
151 */
152 removeTagElement(meta: HTMLMetaElement): void {
153 if (meta) {
154 this._dom.remove(meta);
155 }
156 }
157
158 private _getOrCreateElement(
159 meta: MetaDefinition,

Callers 2

removeTagMethod · 0.95
meta_spec.tsFile · 0.80

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected