Merge pull request #29 from WinterSilence/patch-2
Remove redundand BaseHtml::$dataAttributes
This commit is contained in:
commit
622d200cd5
@ -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'];
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user