An options object for initializing a file browser.



auto?: boolean

Whether a file browser automatically loads its initial path. The default is true.

driveName?: string

An optional Contents.IDrive name for the model. If given, the model will prepend driveName: to all paths used in file operations.

A document manager instance.

refreshInterval?: number

The time interval for browser refreshing, in ms.

refreshStandby?: Standby | (() => boolean | Standby)

When the model stops polling the API. Defaults to when-hidden.

state?: IStateDB<ReadonlyPartialJSONValue>

An optional state database. If provided, the model will restore which folder was last opened when it is restored.

translator?: ITranslator

The application language translator.

Generated using TypeDoc