Class yeesoft\comments\assets\CommentsAsset

Inheritanceyeesoft\comments\assets\CommentsAsset » yii\web\AssetBundle

Public Methods

Hide inherited methods

MethodDescriptionDefined By
register() Registers this asset bundle with a view. yeesoft\comments\assets\CommentsAsset

Property Details

$css public property
public $css = ['css/comments.css']
$depends public property
public $depends = ['yii\bootstrap\BootstrapAsset''yii\web\JqueryAsset']
$js public property
public $js = ['js/comments.js']
$sourcePath public property
public $sourcePath '@vendor/yeesoft/yii2-comments/assets/source'

Method Details

register() public static method

Registers this asset bundle with a view.

public static static register ( $view )
$view \yii\web\View

The view to be registered with

return static

The registered asset bundle instance