Remove redundand BaseHtml::$dataAttributes
This commit is contained in:
parent
97a3b653b7
commit
057e672681
@ -27,13 +27,6 @@ abstract class BaseHtml extends \yii\helpers\Html
|
|||||||
* @see getId()
|
* @see getId()
|
||||||
*/
|
*/
|
||||||
public static $autoIdPrefix = 'i';
|
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'];
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user