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

Function buildMetaSelector

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

Source from the content-addressed store, hash-verified

178}
179
180function buildMetaSelector(attrSelector: string): string {
181 return `meta[${attrSelector}]`;
182}
183
184function setMetaElementAttributes(tag: MetaDefinition, el: HTMLMetaElement) {
185 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