本文整理汇总了PHP中kartik\base\AssetBundle类的典型用法代码示例。如果您正苦于以下问题:PHP AssetBundle类的具体用法?PHP AssetBundle怎么用?PHP AssetBundle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了AssetBundle类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: init
public function init()
{
$this->setSourcePath(__DIR__ . '/assets');
$this->setupAssets('css', ['css/kv-sortable']);
$this->setupAssets('js', ['js/jquery.sortable']);
parent::init();
}
示例2: init
/**
* @inheritdoc
*/
public function init()
{
$this->setSourcePath(__DIR__ . '/assets');
$this->setupAssets('css', ['css/perfect-scrollbar', 'css/perfect-scrollbar-kv']);
$this->setupAssets('js', ['js/perfect-scrollbar.jquery']);
parent::init();
}
示例3: init
public function init()
{
$this->setSourcePath('@vendor/chd7well/bootstrap-wizard');
//$this->setupAssets('css', ['css/bootstrap-popover-x']);
$this->setupAssets('js', ['jquery.bootstrap.wizard']);
parent::init();
}
示例4: init
public function init()
{
$this->setSourcePath(__DIR__ . '/assets');
$this->setupAssets('css', ['css/typeahead', 'css/typeahead-kv']);
$this->setupAssets('js', ['js/typeahead.bundle']);
parent::init();
}
示例5: init
/**
* @inheritdoc
*/
public function init()
{
$this->depends = array_merge($this->depends, ['kartik\\datecontrol\\DateFormatterAsset']);
$this->setSourcePath(__DIR__ . '/assets');
$this->setupAssets('js', ['js/datecontrol']);
parent::init();
}
示例6: init
/**
* @inheritdoc
*/
public function init()
{
$this->setSourcePath('@vendor/kartik-v/strength-meter');
$this->setupAssets('css', ['css/strength-meter']);
$this->setupAssets('js', ['js/strength-meter']);
parent::init();
}
示例7: init
public function init()
{
$this->setSourcePath('@vendor/kartik-v/dependent-dropdown');
$this->setupAssets('css', ['css/dependent-dropdown']);
$this->setupAssets('js', ['js/dependent-dropdown']);
parent::init();
}
示例8: init
/**
* @inheritdoc
*/
public function init()
{
$this->setSourcePath(__DIR__ . '/assets');
$this->setupAssets('js', ['js/lt-import-data']);
$this->setupAssets('css', ['css/lt-import-data']);
parent::init();
}
示例9: init
/**
* @inheritdoc
*/
public function init()
{
$this->setSourcePath(__DIR__ . '/assets');
$this->setupAssets('css', ['css/select2']);
$this->setupAssets('js', ['js/select2.full', 'js/select2-krajee']);
parent::init();
}
示例10: init
public function init()
{
$this->setSourcePath(__DIR__ . '/lib');
$this->setupAssets('css', ['select2', 'select2-kv']);
$this->setupAssets('js', ['select2', 'select2-kv']);
parent::init();
}
示例11: init
/**
* @inheritdoc
*/
public function init()
{
$this->depends = array_merge($this->depends, ['kartik\\grid\\GridViewAsset']);
$this->setSourcePath(__DIR__ . '/assets');
$this->setupAssets('js', ['js/jquery.resizableColumns']);
$this->setupAssets('css', ['css/jquery.resizableColumns']);
parent::init();
}
示例12: init
/**
* @inheritdoc
*/
public function init()
{
$this->depends = array_merge($this->depends, ['yii\\web\\YiiAsset', 'yii\\bootstrap\\BootstrapPluginAsset']);
$this->setSourcePath(__DIR__ . '/assets');
$this->setupAssets('css', ['css/activeform']);
$this->setupAssets('js', ['js/activeform']);
parent::init();
}
示例13: init
public function init()
{
$this->setSourcePath(__DIR__ . '/assets');
//$this->setupAssets('css', ['css/bootstrap-datepicker3', 'css/datepicker-kv']);
//todo после разработки подключить через asset
//$this->setupAssets('css', ['css/bootstrap-datepicker3', 'css/datepicker-kv']);
//$this->setupAssets('js', ['js/bootstrap-datepicker', 'js/datepicker-kv']);
parent::init();
}
示例14: init
/**
* @inheritdoc
*/
public function init()
{
$this->setSourcePath(__DIR__ . '/assets');
$this->setupAssets('js', ['js/kv-grid-radio']);
parent::init();
}