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

Function sortedClassList

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

Source from the content-addressed store, hash-verified

135}
136
137export function sortedClassList(element: any): any[] {
138 return Array.prototype.slice.call(element.classList, 0).sort();
139}
140
141export function createTemplate(html: any): HTMLElement {
142 const t = getDOM().getDefaultDocument().createElement('template');

Calls

no outgoing calls

Tested by

no test coverage detected