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

Function buildMetaSelector

packages/platform-browser/src/browser/meta.ts:179–181  ·  view source on GitHub ↗
(attrSelector: string)

Source from the content-addressed store, hash-verified

177}
178
179function buildMetaSelector(attrSelector: string): string {
180 return `meta[${attrSelector}]`;
181}
182
183function setMetaElementAttributes(tag: MetaDefinition, el: HTMLMetaElement) {
184 Object.keys(tag).forEach((prop: string) => el.setAttribute(getMetaKeyMap(prop), tag[prop]));

Callers 2

getTagMethod · 0.85
getTagsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected