MLightCAD
    Preparing search index...

    Interface MTextToolbarColorPickerInstance

    Lifecycle hooks for a custom toolbar color picker.

    interface MTextToolbarColorPickerInstance {
        dispose?: () => void;
        setTheme?: (theme: MTextToolbarTheme) => void;
        setValue?: (color: MTextColor) => void;
    }
    Index

    Properties

    dispose?: () => void

    Cleanup mounted resources when toolbar is disposed.

    setTheme?: (theme: MTextToolbarTheme) => void

    Sync picker UI when toolbar theme changes.

    setValue?: (color: MTextColor) => void

    Sync picker UI when editor format changes (color may be ACI or RGB).