IOptions | @jupyterlab (original) (raw)

An options object for initializing a file browser.

Hierarchy (View Summary)

Index

Properties

Optionalauto

auto?: boolean

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

OptionaldriveName

driveName?: string

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

manager

A document manager instance.

OptionalrefreshInterval

refreshInterval?: number

The time interval for browser refreshing, in ms.

OptionalrefreshStandby

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

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

Optionalstate

state?: IStateDB<ReadonlyPartialJSONValue>

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

Optionaltranslator

The application language translator.