@nextcloud/files
    Preparing search index...

    Interface ISidebarContext

    interface ISidebarContext {
        folder?: IFolder;
        node: INode;
        view?: IView;
    }

    Hierarchy (View Summary)

    Index
    folder?: IFolder

    The current open folder in the files app.

    Only set if the sidebar is rendered within the files app, apps rendering the sidebar within their own app have no open folder.

    node: INode

    The active node in the sidebar

    view?: IView

    The currently active view.

    Only set if the sidebar is rendered within the files app, apps rendering the sidebar within their own app have no active view.