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

Method removeTag

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

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