File browser model with optional filter on element.

Hierarchy (view full)

Constructors

Properties

_filter: ((value) => null | Partial<IScore>)

Type declaration

_filterDirectories: boolean

The document manager instance used by the file browser model.

translator: ITranslator

Accessors

  • get driveName(): string
  • The drive name that gets prepended to the path.

    Returns string

Methods

  • Restore the state of the file browser.

    Parameters

    • id: string

      The unique ID that is used to construct a state database key.

    • populate: boolean = true

      If false, the restoration ID will be set but the file browser state will not be fetched from the state database.

    Returns Promise<void>

    A promise when restoration is complete.

    Notes

    This function will only restore the model once. If it is called multiple times, all subsequent invocations are no-ops.