@umbraco-cms/backoffice
    Preparing search index...

    Interface UmbTreeAction

    A tree-level action, rendered in the tree's header to operate on the tree as a whole.

    interface UmbTreeAction {
        getHref?: () => Promise<string | undefined>;
        hasAdditionalOptions?: () => Promise<boolean | undefined>;
        destroy(): void;
        execute(): Promise<void>;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    getHref?: () => Promise<string | undefined>

    The href location, the action will act as a link.

    Type Declaration

      • (): Promise<string | undefined>
      • Returns Promise<string | undefined>

    hasAdditionalOptions?: () => Promise<boolean | undefined>

    Determine if the UI should indicate that more options will appear when interacting with this.

    Type Declaration

      • (): Promise<boolean | undefined>
      • Returns Promise<boolean | undefined>

    Methods