https://github.com/afeiship/next-wait-to-display
Wait element display in document.
https://github.com/afeiship/next-wait-to-display
appear display next wait
Last synced: 4 months ago
JSON representation
Wait element display in document.
- Host: GitHub
- URL: https://github.com/afeiship/next-wait-to-display
- Owner: afeiship
- License: mit
- Created: 2020-01-13T14:36:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-08T09:35:39.000Z (about 1 year ago)
- Last Synced: 2025-07-07T07:03:21.614Z (11 months ago)
- Topics: appear, display, next, wait
- Language: JavaScript
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-wait-to-display
> Wait element display in document.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```bash
yarn add @jswork/next-wait-to-display
```
## usage
```js
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](https://github.com/afeiship/next-wait-to-display/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/next-wait-to-display
[version-url]: https://npmjs.org/package/@jswork/next-wait-to-display
[license-image]: https://img.shields.io/npm/l/@jswork/next-wait-to-display
[license-url]: https://github.com/afeiship/next-wait-to-display/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-wait-to-display
[size-url]: https://github.com/afeiship/next-wait-to-display/blob/master/dist/next-wait-to-display.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next-wait-to-display
[download-url]: https://www.npmjs.com/package/@jswork/next-wait-to-display