Class hrzg\moxiecode\moxiemanager\assets\ModuleAsset

Inheritancehrzg\moxiecode\moxiemanager\assets\ModuleAsset » yii\web\AssetBundle
Available since version2.0

This declares the asset files required by the MoxieManager Module.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$css array List of CSS files that this bundle contains. hrzg\moxiecode\moxiemanager\assets\ModuleAsset
$depends array Dependencies on other asset bundles are specified via $depends property. hrzg\moxiecode\moxiemanager\assets\ModuleAsset
$js array List of JavaScript files that this bundle contains. hrzg\moxiecode\moxiemanager\assets\ModuleAsset
$sourcePath string The source path to the asset files. hrzg\moxiecode\moxiemanager\assets\ModuleAsset

Property Details

$css public property

List of CSS files that this bundle contains.

public array $css = ["module.css"]
$depends public property

Dependencies on other asset bundles are specified via $depends property. It is an array that contains fully qualified class names of bundle classes that should be published in order for this bundle to work properly.

public array $depends = []
$js public property

List of JavaScript files that this bundle contains.

public array $js = ["module.js"]
$sourcePath public property

The source path to the asset files. In case you have asset files under a non web accessible directory, that is the case for any extension, you need to specify $sourcePath instead of $basePath and $baseUrl.

public string $sourcePath '@vendor/hrzg/yii2-moxiemanager-module/assets/web'

Method Details

init() public method

public void init ( )