wait()
wait(
getElement
):any
Waits for Future<Element>
function to complete and collect its result.
Example: https://public.datagrok.ai/js/samples/ui/components/loading-indicators
Parameters
Parameter | Type |
---|---|
getElement | () => Promise <HTMLElement > |
Returns
any