PHP Classes

File: vendors/gentelella/vendors/jquery.inputmask/extra/bindings/inputmask.binding.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/jquery.inputmask/extra/bindings/inputmask.binding.js   Download  
File: vendors/gentelella/vendors/jquery.inputmask/extra/bindings/inputmask.binding.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 943 bytes
 

Contents

Class file image Download
/* Input Mask plugin binding http://github.com/RobinHerbots/jquery.inputmask Copyright (c) 2010 - Robin Herbots Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) */ (function(factory) { if (typeof define === "function" && define.amd) { define(["jquery", "inputmask"], factory); } else if (typeof exports === "object") { module.exports = factory(require("jquery"), require("./inputmask")); } else { factory(jQuery, window.Inputmask); } } (function($, Inputmask) { $(document).ajaxComplete(function(event, xmlHttpRequest, ajaxOptions) { if ($.inArray("html", ajaxOptions.dataTypes) !== -1) { $(":input").each(function(ndx, lmnt) { if (lmnt.inputmask === undefined) { Inputmask().mask(lmnt); } }); } }).ready(function() { $(":input").each(function(ndx, lmnt) { if (lmnt.inputmask === undefined) { Inputmask().mask(lmnt); } }); }); }));