ulteam-scripts Helper
Helper class
Set of common / helper functions
Methods
Name | Returns | Static | Description |
---|---|---|---|
getParameterByName(parameterName: string, url: undefined | string) | string | Static |
Get URL parameter value parameterName: URL parameter name url: Set your URL except location.search if needed |
waitElementLoad(selector: string, waitingTime: number, maxWaitingTime: number) | Promise<HTMLElement | null> | Static |
Wait until the DOM element will be loaded selector: DOM selector waitingTime: Waiting time before the next attemp (in milliseconds). Default is 100 ms maxWaitingTime: Max waiting time in milliseconds. If element will not be finded then returns null. Default is 10 000 ms |