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

Function buildMetaSelector

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

Source from the content-addressed store, hash-verified

173}
174
175function buildMetaSelector(attrSelector: string): string {
176 return `meta[${attrSelector}]`;
177}
178
179function setMetaElementAttributes(tag: MetaDefinition, el: HTMLMetaElement) {
180 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