MCPcopy
hub / github.com/angular/angular / sortedClassList

Function sortedClassList

packages/private/testing/src/browser_utils.ts:132–134  ·  view source on GitHub ↗
(element: any)

Source from the content-addressed store, hash-verified

130}
131
132export function sortedClassList(element: any): any[] {
133 return Array.prototype.slice.call(element.classList, 0).sort();
134}
135
136export function createTemplate(html: any): HTMLElement {
137 const t = getDOM().getDefaultDocument().createElement('template');

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…