Skip to content

afeiship/next-wait-to-display

Repository files navigation

next-wait-to-display

Wait element display in document.

version license size download

installation

npm install -S @jswork/next-wait-to-display

usage

import '@jswork/next-wait-to-display';

// check target:
nx.waitToDisplay('#target', 1000, (el) => {
  console.log('has element!', el);
});

license

Code released under the MIT license.