UNPKG

app-decorators

Version:

Collection of useful ES7 Decorators, writtin in ES6, that can be used for building webapps

24 lines (20 loc) 710 B
System.register(['app-decorators/src/libs/element-to-function', 'jquery', './delay'], function (_export, _context) { "use strict"; var _elementToFunc, $, delay; return { setters: [function (_appDecoratorsSrcLibsElementToFunction) { _elementToFunc = _appDecoratorsSrcLibsElementToFunction.default; }, function (_jquery) { $ = _jquery.default; }, function (_delay) { delay = _delay.delay; }], execute: function () { $.fn.clickAndWait = function (ms) { this.get(0).click(); return delay(ms); }; } }; }); //# sourceMappingURL=jquery.click-and-wait.js.map