Skip to content

Commit

Permalink
Add custom attributes to script tags (#20087)
Browse files Browse the repository at this point in the history
  • Loading branch information
skepticspriggan committed Mar 25, 2024
1 parent 65fe1c8 commit 838dd65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions framework/web/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ class View extends \yii\base\View
* @see registerJsFile()
*/
public $jsFiles = [];
/**
* @var array the script tag options.
*/
public $scriptOptions = [];

private $_assetManager;

Expand Down

0 comments on commit 838dd65

Please sign in to comment.