From 057e672681c827964809bb0897e1da7d3e6064b3 Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 20 Dec 2021 04:49:33 +0300 Subject: [PATCH] Remove redundand BaseHtml::$dataAttributes --- src/BaseHtml.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/BaseHtml.php b/src/BaseHtml.php index 1bb7213..c919fb5 100644 --- a/src/BaseHtml.php +++ b/src/BaseHtml.php @@ -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']; /**