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

Method removeTagElement

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

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

Callers 2

removeTagMethod · 0.95
meta_spec.tsFile · 0.80

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected