This is the global variable when you create the pagehelper instance.
const pageHelper = new PageHelper();
- Source:
Methods
fullUrl(ele, dataUrl)
The element with special attributes to be used to generate the full url
like ph-params=""
Parameters:
Name | Type | Description |
---|---|---|
ele |
HTMLHtmlElement | The html element with special attributes to be used to generate the full url |
dataUrl |
string | The url to calculate the full url from |
- Source:
getPollingService(url, kvs) → {PollingService}
polling the endpoint with the given interval and fire the event specified
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string | The url to be polled | ||||||||||||
kvs |
Object | the interval to poll the endpoint
Properties
|
- Source:
Returns:
- the polling service
- Type
- PollingService
(static) hideTopbar()
hide topbar
- Source:
(static) showTopbar(delay)
show topbar with the given delay
Parameters:
Name | Type | Description |
---|---|---|
delay |
number |
- Source: