Data
The Data class represents a single data attribute instance. It contains the data attribute name and value, which are rendered as HTML data-* attributes.
Namespace
JobMetric\CustomField\Attribute\Data\Data
Overview
The Data class is the result of building a data attribute with DataBuilder. It contains the data attribute configuration and is used internally by fields to render data-* HTML attributes.
Properties
Name
public string $name;
The data attribute name (without the "data-" prefix).
Value
public string|int|bool|null $value;
The data attribute value.