Log in
Model

SimpleMode

Magento\Ui\Model\ColorPicker\SimpleMode

What it does

This class provides configuration settings for the color picker UI component when used in 'simple mode'.

It returns a predefined configuration array that disables most advanced color picker features (like alpha channel, input field, and palette) while only showing the selection palette, making it suitable for basic color selection scenarios where minimal UI complexity is needed.

Public Methods

  • getConfig()