@nextcloud/files
    Preparing search index...

    Interface ISidebarAction

    Implementation of a custom sidebar tab within the files app.

    interface ISidebarAction {
        id: string;
        order: number;
        displayName(context: ISidebarContext): string;
        enabled(context: ISidebarContext): boolean;
        iconSvgInline(context: ISidebarContext): string;
        onClick(context: ISidebarContext): void;
    }
    Index

    Properties

    id: string

    Unique id of the sidebar tab. This has to conform to the HTML id attribute specification.

    order: number

    The order of this tab. Use a low number to make this tab ordered in front.

    Methods