We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43146e2 commit 58df7e1Copy full SHA for 58df7e1
src/util/waitForElement.js
@@ -1,9 +1,12 @@
1
/**
2
* Waits until Element will appear
3
+ *
4
+ * @api private
5
+ * @method _waitForElement
6
* @param {string} elSelector Selector to locate Element
7
* @param {() => void} callback Callback to be called after Element appearance
8
*/
-export default function waitForElement(elSelector, callback) {
9
+export default function _waitForElement(elSelector, callback) {
10
if (document.querySelector(elSelector) !== null) {
11
callback();
12
return;
0 commit comments