MCPcopy
hub / github.com/angular/angular / removeTag

Method removeTag

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

* Removes an existing ` ` tag element from the current HTML document. * @param attrSelector A tag attribute and value to match against, to identify * an existing tag. A string in the format `"tag_attribute=`value string`"`.

(attrSelector: string)

Source from the content-addressed store, hash-verified

147 * an existing tag. A string in the format `"tag_attribute=`value string`"`.
148 */
149 removeTag(attrSelector: string): void {
150 this.removeTagElement(this.getTag(attrSelector)!);
151 }
152
153 /**
154 * Removes an existing `<meta>` tag element from the current HTML document.

Callers 1

meta_spec.tsFile · 0.45

Calls 2

removeTagElementMethod · 0.95
getTagMethod · 0.95

Tested by

no test coverage detected