MaskedInputAsset.php 665 Bytes
Newer Older
1 2 3 4 5 6 7 8
<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace yii\widgets;
Qiang Xue committed
9

10 11 12
use yii\web\AssetBundle;

/**
13
 * The asset bundle for the [[MaskedInput]] widget.
14
 *
15
 * Includes client assets of [jQuery input mask plugin](https://github.com/RobinHerbots/jquery.inputmask).
16
 *
17
 * @author Kartik Visweswaran <kartikv2@gmail.com>
18 19 20 21
 * @since 2.0
 */
class MaskedInputAsset extends AssetBundle
{
22
    public $sourcePath = '@bower/jquery.inputmask/dist';
23
    public $js = [
24
        'jquery.inputmask.bundle.js'
25 26 27 28
    ];
    public $depends = [
        'yii\web\YiiAsset'
    ];
29
}