@nextcloud/files
    Preparing search index...

    Interface SidebarTabComponent

    This component describes the custom web component that should be registered for a sidebar tab.

    interface SidebarTabComponent {
        active: boolean;
        folder?: IFolder;
        node: INode;
        view?: IView;
    }

    Hierarchy (View Summary)

    Index
    active: boolean

    The active state of the sidebar tab. It will be set to true if this component is the currently active tab.

    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.