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

Method removeTag

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

139 * an existing tag. A string in the format `"tag_attribute=`value string`"`.
140 */
141 removeTag(attrSelector: string): void {
142 this.removeTagElement(this.getTag(attrSelector)!);
143 }
144
145 /**
146 * 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