iink-ts - v4.0.0
    Preparing search index...

    Type Alias TMenuActionConfig

    Configuration to enable/disable each action menu individually. Sub-menus accept boolean to show/hide entirely, or an object to configure individual items.

    type TMenuActionConfig = {
        clear?: boolean;
        convert?: boolean;
        export?: TExportActionConfig;
        gesture?: TGestureActionConfig;
        guide?: TGuideActionConfig;
        import?: boolean;
        language?: boolean;
        math?: TMathActionConfig;
        minimap?: boolean;
        overlay?: TOverlayActionConfig;
        selection?: TSelectionActionConfig;
        snap?: TSnapActionConfig;
        theme?: boolean;
        themes?: TCanvasTheme[];
        undoRedo?: boolean;
        zoom?: boolean;
    }
    Index
    clear?: boolean

    Enable/disable Clear menu

    convert?: boolean

    Enable/disable Convert menu

    Enable/disable Export submenu. Pass an object to configure individual export formats.

    Enable/disable Gesture submenu. Pass an object to configure individual gesture items.

    Enable/disable Guide submenu. Pass an object to configure individual guide items.

    import?: boolean

    Enable/disable Import submenu

    language?: boolean

    Enable/disable Language menu

    Enable/disable Math submenu. Pass an object to configure individual math items.

    minimap?: boolean

    Enable/disable Minimap toggle button

    Enable/disable Overlay submenu. Pass an object to configure individual overlay items.

    Enable/disable Selection submenu. Pass an object to configure individual selection items.

    Enable/disable Snap submenu. Pass an object to configure individual snap items.

    theme?: boolean

    Enable/disable Theme picker

    themes?: TCanvasTheme[]

    Override predefined themes shown in the theme picker

    undoRedo?: boolean

    Enable/disable Undo/Redo menus

    zoom?: boolean

    Enable/disable Zoom menus