(el)
| 252 | } |
| 253 | |
| 254 | setupCleave (el) { |
| 255 | /* Enable cleave.js support if library is loaded and config is available */ |
| 256 | const options = this.expandCallbacks('cleave', extend({}, this.defaults.options.cleave || {}, this.options.cleave || {})) |
| 257 | if (typeof options === 'object' && Object.keys(options).length > 0) { |
| 258 | this.cleave_instance = new window.Cleave(el, options) |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | setupImask (el) { |
| 263 | /* Enable imask.js support if library is loaded and config is available */ |
no test coverage detected