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

Method removeTagElement

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

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

Callers 2

removeTagMethod · 0.95
meta_spec.tsFile · 0.80

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected