Search results

StaticFunctions API in Angular FileManager API component

Root static functions of FileManager Component

sortComparer

Utility function to compare two strings in a way similar to Windows Explorer. Files and folders are sorted separately, with folders coming before files.

Parameter Type Description
reference string The first string to compare. This could be a file or folder name.
comparer string The second string to compare. This could be a file or folder name.

Returns number