Reference Source
import {ColorInput} from '@adobe/coral-spectrum'
public class | source

ColorInputSwatches

Expression Extends:

class ColorInputSwatches extends BaseColorInputAbstractSubview(BaseComponent(HTMLElement))

A ColorInput Swatches component

See:

Example:

Markup
<coral-colorinput-swatches></coral-colorinput-swatches>
JS constructor
new Coral.ColorInput.Swatches();

Member Summary

Public Members
public

The Collection Interface that allows interacting with the items that the component contains.

public

The selected item.

public

value: *

Public Members

public items: SelectableCollection source

The Collection Interface that allows interacting with the items that the component contains.

  • read-only

public selectedItem: HTMLElement source

The selected item.

  • read-only

public value: * source