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

Method removeTag

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

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