@samatawy/diagrams
    Preparing search index...

    Interface DiagramToolBarConfig

    Configuration options for the diagram toolbar. Provide only the properties you want to customize. All other properties will use default values.

    interface DiagramToolBarConfig {
        layout?: DiagramActionId[];
        hostClassName?: string;
        buttonClassName?: string;
        activeClassName?: string;
        disabledClassName?: string;
        separatorClassName?: string;
        tooltipAttribute?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    layout?: DiagramActionId[]

    Ordered toolbar layout mixing action IDs and separators. Example: ['undo', 'redo', '|', 'delete', 'copy', 'paste'] A default layout will be used if none is provided.

    hostClassName?: string

    Optional CSS class name to apply to the toolbar host element. This allows for custom styling of the toolbar.

    buttonClassName?: string

    Optional CSS class name to apply to toolbar buttons. This allows for custom styling of the buttons.

    activeClassName?: string

    Optional CSS class name to apply to active toolbar buttons. This allows for custom styling of active buttons.

    disabledClassName?: string

    Optional CSS class name to apply to disabled toolbar buttons. This allows for custom styling of disabled buttons.

    separatorClassName?: string

    Optional CSS class name to apply to toolbar separators. This allows for custom styling of separators.

    tooltipAttribute?: string

    Optional attribute name to use for tooltips. This allows for custom tooltip behavior.