@jswork/next-wait-until
v1.0.5
Published
Wait until for next.
Downloads
73
Readme
next-wait-until
Wait until for next.
installation
yarn add @jswork/next-wait-until
usage
import '@jswork/next-wait-until';
nx.waitUntil({
timeout: 1000,
interval:200,
condition: function () {
return window.$;
},
change: function (status) {
console.log('change', status);
},
done: function () {
console.log('done');
},
fail: function () {
console.log('fail/timeout');
},
always: function () {
console.log('always');
},
complete: function () {
console.log('complete');
}
});
license
Code released under the MIT license.