Log in
Interface

ModeInterface

Magento\Ui\Model\ColorPicker\ModeInterface

What it does

This interface defines a contract for color picker mode implementations in Magento's UI component system.

Developers implement this interface when creating custom color picker modes (like HSL, RGB, HEX) to provide specific configuration parameters for the Spectrum color picker JavaScript library used in the admin panel.

Public Methods

  • getConfig()