Skip to content

Commit 58df7e1

Browse files
committed
Added _ to waitForElement function name
1 parent 43146e2 commit 58df7e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/util/waitForElement.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
/**
22
* Waits until Element will appear
3+
*
4+
* @api private
5+
* @method _waitForElement
36
* @param {string} elSelector Selector to locate Element
47
* @param {() => void} callback Callback to be called after Element appearance
58
*/
6-
export default function waitForElement(elSelector, callback) {
9+
export default function _waitForElement(elSelector, callback) {
710
if (document.querySelector(elSelector) !== null) {
811
callback();
912
return;

0 commit comments

Comments
 (0)