An options object for initializing a file browser widget.

interface IOptions {
    id: string;
    model: FilterFileBrowserModel;
    renderer?: DirListing.IRenderer;
    restore?: boolean;
    translator?: ITranslator;


id: string

The widget/DOM id of the file browser.

A file browser model instance.

An optional renderer for the directory listing area.

The default is a shared instance of DirListing.Renderer.

restore?: boolean

Whether a file browser automatically restores state when instantiated. The default is true.


The file browser model will need to be restored manually for the file browser to be able to save its state.

translator?: ITranslator

The application language translator.