(element: Element)
| 13 | * @returns Returns element classes in form of a stable (sorted) string. |
| 14 | */ |
| 15 | export function getSortedClassName(element: Element): string { |
| 16 | const names: string[] = Object.keys(getElementClasses(element)); |
| 17 | names.sort(); |
| 18 | return names.join(' '); |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * Returns element classes in form of a map. |
no test coverage detected
searching dependent graphs…