Options for the open directory dialog

interface IDirectoryOptions {
    checkbox?: null | Partial<ICheckbox>;
    defaultPath?: string;
    focusNodeSelector?: string;
    hasClose?: boolean;
    host?: HTMLElement;
    label?: string;
    manager: IDocumentManager;
    renderer?: Dialog.IRenderer;
    title?: Header;
    translator?: ITranslator;
}

Hierarchy (view full)

Properties

checkbox?: null | Partial<ICheckbox>

The checkbox to display in the footer. Defaults no checkbox.

defaultPath?: string

Default path to open

focusNodeSelector?: string

A selector for the primary element that should take focus in the dialog. Defaults to an empty string, causing the [[defaultButton]] to take focus.

hasClose?: boolean

When "false", disallows user from dismissing the dialog by clicking outside it or pressing escape. Defaults to "true", which renders a close button.

The host element for the dialog. Defaults to document.body.

label?: string

Text to display above the file browser.

Document manager

renderer?: Dialog.IRenderer

An optional renderer for dialog items. Defaults to a shared default renderer.

title?: Header

The top level text for the dialog. Defaults to an empty string.

translator?: ITranslator

The application language translator.