Ace API Reference
    Preparing search index...

    Interface TooltipCommand

    interface TooltipCommand {
        aceCommandGroup?: string;
        action?: string;
        bindKey?: string | { mac?: string; win?: string };
        cssClass?: string;
        description?: string;
        enabled?: boolean | TooltipCommandFunction<boolean>;
        exec?: (editor?: any, args?: any) => void;
        getValue?: TooltipCommandFunction<any>;
        iconCssClass?: string;
        isAvailable?: (editor: 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 Summary)

    Index

    Properties

    aceCommandGroup?: string
    action?: string
    bindKey?: string | { mac?: string; win?: string }
    cssClass?: string
    description?: string
    enabled?: boolean | TooltipCommandFunction<boolean>
    exec?: (editor?: any, args?: any) => void
    getValue?: TooltipCommandFunction<any>
    iconCssClass?: string
    isAvailable?: (editor: 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"