OptionalallowWhether to allow file uploads. Defaults to true.
OptionalautoWhether a file browser automatically loads its initial path.
The default is true.
OptionaldriveAn optional Contents.IDrive name for the model.
If given, the model will prepend driveName: to
all paths used in file operations.
OptionalincludeWhether hidden files should be included in the items.
A document manager instance.
OptionalrefreshThe time interval for browser refreshing, in ms.
OptionalrefreshWhen the model stops polling the API. Defaults to when-hidden.
OptionalrootThe root path for navigation restriction.
When set, navigation will be restricted to this path and its subdirectories. Users will not be able to navigate above this path.
OptionalstateAn optional state database. If provided, the model will restore which folder was last opened when it is restored.
OptionaltranslatorThe application language translator.
Constructor options