Webform module and config export
This commit is contained in:
parent
3e6a5cbed2
commit
0e15467384
1040 changed files with 117682 additions and 0 deletions
21
web/modules/contrib/webform/js/webform.element.inputmask.js
Normal file
21
web/modules/contrib/webform/js/webform.element.inputmask.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* @file
|
||||
* Javascript behaviors for jquery.inputmask integration.
|
||||
*/
|
||||
|
||||
(function ($, Drupal) {
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Initialize input masks.
|
||||
*
|
||||
* @type {Drupal~behavior}
|
||||
*/
|
||||
Drupal.behaviors.webformElementMask = {
|
||||
attach: function (context) {
|
||||
$(context).find('input.js-webform-element-mask').once('webform-element-mask').inputmask();
|
||||
}
|
||||
};
|
||||
|
||||
})(jQuery, Drupal);
|
Reference in a new issue