interface TooltipCommand {
    aceCommandGroup?: string;
    action?: string;
    bindKey?: string | {
        mac?: string;
        win?: string;
    };
    cssClass?: string;
    description?: string;
    enabled?: boolean | TooltipCommandFunction<boolean>;
    exec?: ((editor?, args?) => void);
    getValue?: TooltipCommandFunction<any>;
    iconCssClass?: string;
    isAvailable?: ((editor) => boolean);
    level?: number;
    multiSelectAction?: Function | "forEach" | "forEachLine";
    name?: string;
    passEvent?: boolean;
    readOnly?: boolean;
    scrollIntoView?: true | "center" | "animate" | "none" | "cursor" | "selectionPart" | "selection";
    type: "button" | "text" | "checkbox";
}

Hierarchy (view full)

Properties

aceCommandGroup?: string
action?: string
bindKey?: string | {
    mac?: string;
    win?: string;
}

Type declaration

  • Optional mac?: string
  • Optional win?: string
cssClass?: string
description?: string
enabled?: boolean | TooltipCommandFunction<boolean>
exec?: ((editor?, args?) => void)

Type declaration

    • (editor?, args?): void
    • Parameters

      • Optional editor: any
      • Optional args: any

      Returns void

getValue?: TooltipCommandFunction<any>
iconCssClass?: string
isAvailable?: ((editor) => boolean)

Type declaration

    • (editor): boolean
    • Parameters

      Returns boolean

level?: number
multiSelectAction?: Function | "forEach" | "forEachLine"
name?: string
passEvent?: boolean
readOnly?: boolean
scrollIntoView?: true | "center" | "animate" | "none" | "cursor" | "selectionPart" | "selection"
type: "button" | "text" | "checkbox"

Generated using TypeDoc