$dataAttributes public static property (available since version 2.0.3)
List of tag attributes that should be specially handled when their values are of array type. In particular, if the value of the data
attribute is ['name' => 'xyz', 'age' => 13]
, two attributes will be generated instead of one: data-name="xyz" data-age="13"
.
public static array $dataAttributes = ['data', 'data-ng', 'ng']
Please login to continue.