30 lines
653 B
PHP
30 lines
653 B
PHP
![]() |
<?php
|
||
|
/**
|
||
|
* @link http://www.yiiframework.com/
|
||
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
||
|
* @license http://www.yiiframework.com/license/
|
||
|
*/
|
||
|
|
||
|
namespace yii\widgets;
|
||
|
|
||
|
use yii\web\AssetBundle;
|
||
|
|
||
|
/**
|
||
|
* The asset bundle for the [[MaskedInput]] widget.
|
||
|
*
|
||
|
* Includes client assets of [jQuery input mask plugin](https://github.com/RobinHerbots/Inputmask).
|
||
|
*
|
||
|
* @author Kartik Visweswaran <kartikv2@gmail.com>
|
||
|
* @since 2.0
|
||
|
*/
|
||
|
class MaskedInputAsset extends AssetBundle
|
||
|
{
|
||
|
public $sourcePath = '@bower/inputmask/dist';
|
||
|
public $js = [
|
||
|
'jquery.inputmask.bundle.js',
|
||
|
];
|
||
|
public $depends = [
|
||
|
'yii\web\YiiAsset',
|
||
|
];
|
||
|
}
|