Remove redundand BaseHtml::$dataAttributes

This commit is contained in:
Anton 2021-12-20 04:49:33 +03:00 committed by GitHub
parent 97a3b653b7
commit 057e672681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,13 +27,6 @@ abstract class BaseHtml extends \yii\helpers\Html
* @see getId()
*/
public static $autoIdPrefix = 'i';
/**
* @var array 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"`.
* @since 2.0.3
*/
public static $dataAttributes = ['data', 'data-ng', 'ng', 'aria'];
/**