MLightCAD
    Preparing search index...

    Interface MTextToolbarColorPickerContext

    Context passed to custom toolbar color picker factory.

    interface MTextToolbarColorPickerContext {
        container: HTMLElement;
        initialColor: MTextColor;
        onChange: (color: MTextColor) => void;
        theme: MTextToolbarTheme;
    }
    Index

    Properties

    container: HTMLElement

    Host element where custom UI should be mounted.

    initialColor: MTextColor

    Initial color (may be ACI or RGB).

    onChange: (color: MTextColor) => void

    Call when user picks a new color (ACI or RGB).

    theme: MTextToolbarTheme

    Current toolbar theme.