withColor abstract method

DataAttributesBuilder withColor(
  1. String name,
  2. Color value
)

Configures the builder to add the given attribute.

  • name Attribute name.

  • value Attribute value.

Returns DataAttributesBuilder. This data attributes builder instance.

Implementation

DataAttributesBuilder withColor(String name, ui.Color value);