MaskedInputAsset.php 665B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\widgets;
  8. use yii\web\AssetBundle;
  9. /**
  10. * The asset bundle for the [[MaskedInput]] widget.
  11. *
  12. * Includes client assets of [jQuery input mask plugin](https://github.com/RobinHerbots/jquery.inputmask).
  13. *
  14. * @author Kartik Visweswaran <kartikv2@gmail.com>
  15. * @since 2.0
  16. */
  17. class MaskedInputAsset extends AssetBundle
  18. {
  19. public $sourcePath = '@bower/jquery.inputmask/dist';
  20. public $js = [
  21. 'jquery.inputmask.bundle.js'
  22. ];
  23. public $depends = [
  24. 'yii\web\YiiAsset'
  25. ];
  26. }