Properties:
| Name | Type | Description |
|---|---|---|
directoriesFirst |
bool | (default: |
filesystem |
html.Filesystem | (default: |
filter |
function | A filtering function. By default, hidden files are filtered out. |
loading |
bool | [readonly] |
path |
string | (default: |
sorter |
function | A sorting function. By default, items are sorted in ascending case-insensitive order by their name. |
Extends
Methods
-
Creates a filtering function for the
filterproperty.Name Type Description withDirectoriesbool Whether to include directories.
withFilesbool Whether to include files.
withHiddenbool Whether to include hidden entries (name starting with
.).Returns:
Type Description function The filtering function. -
Creates a sorting function for the
sorterproperty.Name Type Description rolestring The sort role name.
ascendingbool Whether to sort in ascending order.
Returns:
Type Description function The sorting function.